Skip to content

anv: split ANV_PIPE_RENDER_TARGET_BUFFER_WRITES for finer grained flushing

Rohan Garg requested to merge shadeslayer/mesa:review/fix_trasnfer_flush into main

What does this MR do and why?

anv: split ANV_PIPE_RENDER_TARGET_BUFFER_WRITES for finer grained flushing

split ANV_PIPE_RENDER_TARGET_BUFFER_WRITES into separate CS_STALL, RT_FLUSH & TILE_FLUSH flags in order to have finer control over cache coherency.

Tigerlake CS has it's own cache fetching directly from the memory controller, so we need to do a tile flush to ensure the query data is visible.

This fixes test_resolve_non_issued_query_data in vkd3d on TGL.

Signed-off-by: Rohan Garg rohan.garg@intel.com Fixes: 3c4c1834 ("anv: narrow flushing of the render target to buffer writes")

Edited by Rohan Garg

Merge request reports