anv: avoid filling PC reason for timestamp u_trace captures

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39405>
This commit is contained in:
Lionel Landwerlin 2026-01-05 15:41:41 +02:00 committed by Marge Bot
parent 909bf887d8
commit 1cd9a4e4a1

View file

@ -7064,16 +7064,18 @@ void genX(cmd_emit_timestamp)(struct anv_batch *batch,
fd.Address = addr;
}
} else {
genx_batch_emit_pipe_control_write(batch, device->info, 0,
WriteTimestamp, addr, 0, 0);
genX(batch_emit_pipe_control_write)(batch, device->info, 0,
WriteTimestamp, addr, 0, 0,
NULL /* no reason */);
}
break;
}
case ANV_TIMESTAMP_CAPTURE_AT_CS_STALL:
genx_batch_emit_pipe_control_write
(batch, device->info, 0, WriteTimestamp, addr, 0,
ANV_PIPE_CS_STALL_BIT);
genX(batch_emit_pipe_control_write)(batch, device->info, 0,
WriteTimestamp, addr, 0,
ANV_PIPE_CS_STALL_BIT,
NULL /* no reason */);
break;
#if GFX_VERx10 >= 125