diff options
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2022-05-08 18:20:27 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-07-09 12:29:05 +0000 |
commit | 80a3c218eb61b3559bfd5c42f56cabb56cff3938 (patch) | |
tree | 205583617eeaedec8eac756154d83eb715cf0fc3 /src/amd/vulkan/radv_sqtt.c | |
parent | f7d8e64f51121b366a1f5c026bebbdab37fb0863 (diff) |
radv: Rename SPM functions.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16879>
Diffstat (limited to 'src/amd/vulkan/radv_sqtt.c')
-rw-r--r-- | src/amd/vulkan/radv_sqtt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/amd/vulkan/radv_sqtt.c b/src/amd/vulkan/radv_sqtt.c index f2bc8d27fed..7c5c5be23fd 100644 --- a/src/amd/vulkan/radv_sqtt.c +++ b/src/amd/vulkan/radv_sqtt.c @@ -568,7 +568,7 @@ radv_begin_thread_trace(struct radv_queue *queue) /* Enable SQG events that collects thread trace data. */ radv_emit_spi_config_cntl(device, cs, true); - radv_perfcounter_emit_reset(cs); + radv_perfcounter_emit_spm_reset(cs); if (device->spm_trace.bo) { /* Enable all shader stages by default. */ @@ -581,7 +581,7 @@ radv_begin_thread_trace(struct radv_queue *queue) radv_emit_thread_trace_start(device, cs, family); if (device->spm_trace.bo) - radv_perfcounter_emit_start(device, cs, family); + radv_perfcounter_emit_spm_start(device, cs, family); result = ws->cs_finalize(cs); if (result != VK_SUCCESS) { @@ -632,12 +632,12 @@ radv_end_thread_trace(struct radv_queue *queue) radv_emit_wait_for_idle(device, cs, family); if (device->spm_trace.bo) - radv_perfcounter_emit_stop(device, cs, family); + radv_perfcounter_emit_spm_stop(device, cs, family); /* Stop SQTT. */ radv_emit_thread_trace_stop(device, cs, family); - radv_perfcounter_emit_reset(cs); + radv_perfcounter_emit_spm_reset(cs); /* Restore previous state by disabling SQG events. */ radv_emit_spi_config_cntl(device, cs, false); |