anv: refactor batch_set_preemption to use batch_emit_pipe_control
authorTapani Pälli <tapani.palli@intel.com>
Tue, 15 Aug 2023 09:20:14 +0000 (12:20 +0300)
committerMarge Bot <emma+marge@anholt.net>
Thu, 17 Aug 2023 16:07:59 +0000 (16:07 +0000)
commit71a2d651c13bfeb982a810b729ec437b1ea53670
treedbaab9fe002f33ee1eaf882def9646cd14a44a1c
parentf3398683f22bd9dd07c993c605b0ab4df8894690
anv: refactor batch_set_preemption to use batch_emit_pipe_control

This makes it easier to hook workarounds for this pipe control.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24690>
src/intel/vulkan/anv_genX.h
src/intel/vulkan/genX_cmd_buffer.c
src/intel/vulkan/genX_gpu_memcpy.c