File n_stop-iris-flicker.patch of Package A_sr-Mesa
19
1
commit 5d6f7baf3bc40a85b09e4088c8c3bccec6a7c82d
2
Author: Scott Bradnick <scott.bradnick@suse.com>
3
Date: Tue May 24 14:47:53 2022 -0400
4
5
Adjusting 'iris_batch.c' per 'https://gitlab.freedesktop.org/mesa/mesa/-/issues/5731'.
6
7
Index: mesa-24.2.2/src/gallium/drivers/iris/i915/iris_kmd_backend.c
8
===================================================================
9
--- mesa-24.2.2.orig/src/gallium/drivers/iris/i915/iris_kmd_backend.c
10
+++ mesa-24.2.2/src/gallium/drivers/iris/i915/iris_kmd_backend.c
11
12
uint32_t flags = EXEC_OBJECT_SUPPORTS_48B_ADDRESS | EXEC_OBJECT_PINNED;
13
flags |= bo->real.capture ? EXEC_OBJECT_CAPTURE : 0;
14
flags |= bo == batch->screen->workaround_bo ? EXEC_OBJECT_ASYNC : 0;
15
- flags |= iris_bo_is_external(bo) ? 0 : EXEC_OBJECT_ASYNC;
16
flags |= written ? EXEC_OBJECT_WRITE : 0;
17
18
index_for_handle[bo->gem_handle] = validation_count;
19