Skip to content

anv, iris, gfx12.5+: Flush untyped dataport cache when HDC/DC-flush is requested on compute

Jordan Justen requested to merge jljusten/mesa:gfx125-compute-untyped-flush into main

Based on some testing results on MTL (KHR-GL46.texture_buffer.texture_buffer_operations_ssbo_writes), we seem to need to add "Untyped Data-Port Cache Flush" when in GPGPU mode for DC-flush or HDC-flush. The PRM indicates as such for HDC-flush, but not DC-flush.

This being applied to gfx12.5+. The current know issue was only reproduced on MTL, but so far I don't know of a reason why dg2 & mtl should be different.

Cc: @kwg, @currojerez, @llandwerlin

Edited by Jordan Justen

Merge request reports