radeonsi/sqtt: use ac_sqtt_get_shader_mask for spm counters
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29073>
This commit is contained in:
committed by
Marge Bot
parent
99a6511775
commit
e32dddf7ab
@@ -457,7 +457,7 @@ static void si_sqtt_start(struct si_context *sctx, struct radeon_cmdbuf *cs)
|
||||
|
||||
if (sctx->spm.bo) {
|
||||
si_pc_emit_spm_reset(cs);
|
||||
si_pc_emit_shaders(cs, 0x7f);
|
||||
si_pc_emit_shaders(cs, ac_sqtt_get_shader_mask(&sctx->screen->info));
|
||||
si_emit_spm_setup(sctx, cs);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user