mesa/src/intel
Lionel Landwerlin 6a92af158d anv: wait for CS write completion before executing secondary
Got a error state on DG2 with a jump to secondary. The secondary is
empty and padded with MI_NOOPs to workaround the CS prefetching.
According to the error state, the return jump address from the
secondary to the primary is 0x0. The ACTHD register value is 0x10, so
it seems that the command streamer indeed jumped to 0x0 and hanged on
a few dwords after that.

The return address should have been set edited by a previous
MI_STORE_DATA_IMM instruction. So it appears it did not complete in
time for the command stream to catch it. On Gfx12+ this can happend if
we do not set ForceWriteCompletionCheck.

This change also takes the opportunity to remove the padding MI_NOOPs
at the end of secondaries on Gfx12+ by using disabling the prefetching
just before jumping into secondaries and reenabling it at the
beginning of each secondary.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26665>
2023-12-14 11:28:31 +02:00
..
blorp blorp: Handle stencil buffer compression on blitter engine 2023-12-06 04:39:09 +00:00
ci intel/ci: run only the relevant jobs when changing the ci expectations 2023-12-07 09:59:39 +00:00
common intel: Sync xe_drm.h take 2 part 3 2023-12-06 17:35:23 +00:00
compiler intel/fs: Adjust destination size for load ubo on Xe2+ 2023-12-13 19:06:21 +00:00
dev intel: Sync xe_drm.h take 2 part 3 2023-12-06 17:35:23 +00:00
ds intel/ds: add trace of buffer markers 2023-11-29 01:16:22 +00:00
genxml intel/genxml: Add BCS/VD0 aux table base address register 2023-12-14 00:53:15 +00:00
isl isl: drop AUX-TT CCS alignment with INTEL_DEBUG=noccs 2023-12-13 17:40:38 +00:00
nullhw-layer
perf intel: Remove unused ALIGN macro 2023-12-07 02:30:53 +00:00
tools intel/tools: fix compilation of intel_hang_viewer on 32 bits 2023-12-08 22:53:03 +00:00
vulkan anv: wait for CS write completion before executing secondary 2023-12-14 11:28:31 +02:00
vulkan_hasvk anv/android: Only limit advertised Vulkan version in strict mode 2023-12-13 20:09:37 +00:00
meson.build