Mesa/n_stop-iris-flicker.patch

19 lines
970 B
Diff
Raw Normal View History

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'.
Accepting request 1180929 from home:sndirsch:branches:X11:XOrg - Update to new feature release 24.1.0 --> https://docs.mesa3d.org/relnotes/24.1.0 - Some interesting highlights include: * NVIDIA Vulkan driver NVK is now considered ready for prime time. Distro packagers are now recommended to include `nouveau` in the `vulkan-drivers` list so that their users can have the option of using it instead of the proprietary NVIDIA driver. * Intel Vulkan driver Anv switched to truly asynchronous VM bind, and Xe support for error dump to debug GPU hangs was added. * Apple OpenGL driver Asahi has reached OpenGL 4.6 and OpenGL ES 3.2 support. * Broadcom Vulkan driver V3DV gained support for VK_KHR_dynamic_rendering. * Arm Mali OpenGL driver Panfrost was prepared for Gen10 (Gxxx), and Vulkan driver PanVK was modernised for better Midgard (Txxx) and Bifrost (Gxxx) support. * All Vulkan drivers have gained support for explicit synchronisation on Wayland and X11. - adjusted patches: * n_stop-iris-flicker.patch * python36-buildfix1.patch - supersedes patches: * 0001-loader-delete-unused-param-from-pipe_loader_sw_probe.patch * 0002-glx-fix-some-indentation.patch * 0003-glx-add-an-implicit-param-to-createScreen.patch * 0004-glx-pass-implicit-load-param-through-allocation.patch * 0005-dri-plumb-a-implicit-param-through-createNewScreen-i.patch * 0006-gbm-plumb-an-implicit-param-through-device-creation.patch * 0007-frontends-dri-plumb-an-implicit-param-through-screen.patch * 0008-pipe-loader-plumb-a-flag-for-implicit-driver-load-th.patch * 0009-zink-don-t-print-error-messages-when-failing-an-impl.patch * 0010-glx-silence-more-implicit-load-zink-errors.patch - added libvdpau_d3d12 package - small cleanup in specfile OBS-URL: https://build.opensuse.org/request/show/1180929 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1295
2024-06-14 15:57:58 +02:00
Index: mesa-24.1.0/src/gallium/drivers/iris/i915/iris_kmd_backend.c
===================================================================
Accepting request 1180929 from home:sndirsch:branches:X11:XOrg - Update to new feature release 24.1.0 --> https://docs.mesa3d.org/relnotes/24.1.0 - Some interesting highlights include: * NVIDIA Vulkan driver NVK is now considered ready for prime time. Distro packagers are now recommended to include `nouveau` in the `vulkan-drivers` list so that their users can have the option of using it instead of the proprietary NVIDIA driver. * Intel Vulkan driver Anv switched to truly asynchronous VM bind, and Xe support for error dump to debug GPU hangs was added. * Apple OpenGL driver Asahi has reached OpenGL 4.6 and OpenGL ES 3.2 support. * Broadcom Vulkan driver V3DV gained support for VK_KHR_dynamic_rendering. * Arm Mali OpenGL driver Panfrost was prepared for Gen10 (Gxxx), and Vulkan driver PanVK was modernised for better Midgard (Txxx) and Bifrost (Gxxx) support. * All Vulkan drivers have gained support for explicit synchronisation on Wayland and X11. - adjusted patches: * n_stop-iris-flicker.patch * python36-buildfix1.patch - supersedes patches: * 0001-loader-delete-unused-param-from-pipe_loader_sw_probe.patch * 0002-glx-fix-some-indentation.patch * 0003-glx-add-an-implicit-param-to-createScreen.patch * 0004-glx-pass-implicit-load-param-through-allocation.patch * 0005-dri-plumb-a-implicit-param-through-createNewScreen-i.patch * 0006-gbm-plumb-an-implicit-param-through-device-creation.patch * 0007-frontends-dri-plumb-an-implicit-param-through-screen.patch * 0008-pipe-loader-plumb-a-flag-for-implicit-driver-load-th.patch * 0009-zink-don-t-print-error-messages-when-failing-an-impl.patch * 0010-glx-silence-more-implicit-load-zink-errors.patch - added libvdpau_d3d12 package - small cleanup in specfile OBS-URL: https://build.opensuse.org/request/show/1180929 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1295
2024-06-14 15:57:58 +02:00
--- mesa-24.1.0.orig/src/gallium/drivers/iris/i915/iris_kmd_backend.c
+++ mesa-24.1.0/src/gallium/drivers/iris/i915/iris_kmd_backend.c
@@ -317,7 +317,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;