anv: wrap pipe control emission to a set of helper functions
authorTapani Pälli <tapani.palli@intel.com>
Wed, 7 Jun 2023 07:52:53 +0000 (10:52 +0300)
committerMarge Bot <emma+marge@anholt.net>
Fri, 16 Jun 2023 08:04:20 +0000 (08:04 +0000)
commitc3658f5a5d31e3512c0c1dcf2e1c9d0c21438de8
tree3ca9d36fe109d6ece497f7aa2924001a3794dffa
parent1ad79cb84fc3cd5d2a3a4db532ec976ec4bcf5d1
anv: wrap pipe control emission to a set of helper functions

This makes it possible to have HW specific rules and WA's implemented
in a central place. Also all pipe controls will get anv_debug_dump_pc.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23583>
src/intel/vulkan/anv_genX.h
src/intel/vulkan/genX_cmd_buffer.c