19 lines
970 B
Diff
19 lines
970 B
Diff
|
commit 5d6f7baf3bc40a85b09e4088c8c3bccec6a7c82d
|
||
|
Author: Scott Bradnick <scott.bradnick@suse.com>
|
||
|
Date: Tue May 24 14:47:53 2022 -0400
|
||
|
|
||
|
Adjusting 'iris_batch.c' per 'https://gitlab.freedesktop.org/mesa/mesa/-/issues/5731'.
|
||
|
|
||
|
Index: mesa-24.2.2/src/gallium/drivers/iris/i915/iris_kmd_backend.c
|
||
|
===================================================================
|
||
|
--- mesa-24.2.2.orig/src/gallium/drivers/iris/i915/iris_kmd_backend.c
|
||
|
+++ mesa-24.2.2/src/gallium/drivers/iris/i915/iris_kmd_backend.c
|
||
|
@@ -318,7 +318,6 @@ i915_batch_submit(struct iris_batch *bat
|
||
|
uint32_t flags = EXEC_OBJECT_SUPPORTS_48B_ADDRESS | EXEC_OBJECT_PINNED;
|
||
|
flags |= bo->real.capture ? EXEC_OBJECT_CAPTURE : 0;
|
||
|
flags |= bo == batch->screen->workaround_bo ? EXEC_OBJECT_ASYNC : 0;
|
||
|
- flags |= iris_bo_is_external(bo) ? 0 : EXEC_OBJECT_ASYNC;
|
||
|
flags |= written ? EXEC_OBJECT_WRITE : 0;
|
||
|
|
||
|
index_for_handle[bo->gem_handle] = validation_count;
|