mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-18 08:00:34 +01:00
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:
parent
909bf887d8
commit
1cd9a4e4a1
1 changed files with 7 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue