anv: use anv_add_pending_pipe_bits for event reset

Nicer tracking with INTEL_DEBUG=pc

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38707>
This commit is contained in:
Lionel Landwerlin 2024-10-24 06:00:59 -07:00 committed by Marge Bot
parent 8834ef8bcd
commit 47bc9da064

View file

@ -6395,7 +6395,10 @@ void genX(CmdResetEvent2)(
case INTEL_ENGINE_CLASS_RENDER:
case INTEL_ENGINE_CLASS_COMPUTE: {
cmd_buffer->state.pending_pipe_bits |= ANV_PIPE_POST_SYNC_BIT;
anv_add_pending_pipe_bits(cmd_buffer,
stageMask, 0,
ANV_PIPE_POST_SYNC_BIT,
"event reset");
genX(cmd_buffer_apply_pipe_flushes)(cmd_buffer);
enum anv_pipe_bits pc_bits = 0;