diff options
author | Jason Ekstrand <[email protected]> | 2017-03-30 11:48:05 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-04-04 18:33:52 -0700 |
commit | 439da38d184b5e9dddcfb245a2454879e7632649 (patch) | |
tree | ec1248e35f354eb1fe8c6855e971247c7eeab1d6 /src/intel/vulkan/anv_private.h | |
parent | f938354362655a378d474c5f79c52cea9852ab91 (diff) |
anv: Replace anv_bo::is_winsys_bo with a uint32_t flags
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index dc83b4ac44f..ee0f79b6ddd 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -295,11 +295,8 @@ struct anv_bo { uint64_t size; void *map; - /* We need to set the WRITE flag on winsys bos so GEM will know we're - * writing to them and synchronize uses on other rings (eg if the display - * server uses the blitter ring). - */ - bool is_winsys_bo; + /** Flags to pass to the kernel through drm_i915_exec_object2::flags */ + uint32_t flags; }; static inline void @@ -310,7 +307,7 @@ anv_bo_init(struct anv_bo *bo, uint32_t gem_handle, uint64_t size) bo->offset = -1; bo->size = size; bo->map = NULL; - bo->is_winsys_bo = false; + bo->flags = 0; } /* Represents a lock-free linked list of "free" things. This is used by |