diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-02-25 02:31:09 +0000 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-02-25 02:31:09 +0000 |
commit | f44d4653a9d8ecd408f489b0e63f6c4e301ecdbf (patch) | |
tree | 28bbfd12783bae6edd835f8e12b7fd193a49e2c9 /src/gallium/drivers/panfrost/pan_screen.h | |
parent | 10cc2518426eccdd2d232af9e2366be013e31af8 (diff) |
panfrost/nondrm: Flag CPU-invisible regions
Potentially, the kernel could optimize these allocations, or perhaps we
can save on mapping costs.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_screen.h')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_screen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_screen.h b/src/gallium/drivers/panfrost/pan_screen.h index 4ff690de658..3d7c1ad1562 100644 --- a/src/gallium/drivers/panfrost/pan_screen.h +++ b/src/gallium/drivers/panfrost/pan_screen.h @@ -46,6 +46,7 @@ struct panfrost_screen; /* Flags for allocated memory */ #define PAN_ALLOCATE_EXECUTE (1 << 0) #define PAN_ALLOCATE_GROWABLE (1 << 1) +#define PAN_ALLOCATE_INVISIBLE (1 << 2) struct panfrost_driver { struct panfrost_bo * (*import_bo) (struct panfrost_screen *screen, struct winsys_handle *whandle); |