summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_wsi.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-04-13 16:30:19 -0700
committerJason Ekstrand <[email protected]>2017-04-27 20:08:46 -0700
commit35e626bd0e59e7ce9fd97ccef66b2468c09206a4 (patch)
treef0ae99f348c71a1d9cbaedb946463b79079f1c80 /src/intel/vulkan/anv_wsi.c
parentbd3a9813b92bd2e116b58f0932bc7f1f722a9f63 (diff)
anv: Set EXEC_OBJECT_ASYNC when available
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_wsi.c')
-rw-r--r--src/intel/vulkan/anv_wsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_wsi.c b/src/intel/vulkan/anv_wsi.c
index ba66ea6d461..a024561c942 100644
--- a/src/intel/vulkan/anv_wsi.c
+++ b/src/intel/vulkan/anv_wsi.c
@@ -208,6 +208,7 @@ x11_anv_wsi_image_create(VkDevice device_h,
* know we're writing to them and synchronize uses on other rings (eg if
* the display server uses the blitter ring).
*/
+ memory->bo.flags &= ~EXEC_OBJECT_ASYNC;
memory->bo.flags |= EXEC_OBJECT_WRITE;
anv_BindImageMemory(device_h, image_h, memory_h, 0);