Lines Matching refs:spm
136 if (sctx->spm.bo) in si_sqtt_start()
137 ws->cs_add_buffer(cs, sctx->spm.bo, RADEON_USAGE_READWRITE, in si_sqtt_start()
154 if (sctx->spm.bo) { in si_sqtt_start()
162 if (sctx->spm.bo) in si_sqtt_start()
192 if (sctx->spm.bo) in si_sqtt_stop()
193 ws->cs_add_buffer(cs, sctx->spm.bo, RADEON_USAGE_READWRITE, in si_sqtt_stop()
198 if (sctx->spm.bo) in si_sqtt_stop()
211 if (sctx->spm.bo) in si_sqtt_stop()
428 if (sctx->spm.bo) in si_destroy_sqtt()
485 if (sctx->spm.bo) { in si_handle_sqtt()
486 sctx->spm.ptr = sctx->ws->buffer_map( in si_handle_sqtt()
487 sctx->ws, sctx->spm.bo, NULL, PIPE_MAP_READ | RADEON_MAP_TEMPORARY); in si_handle_sqtt()
488 ac_spm_get_trace(&sctx->spm, &spm_trace); in si_handle_sqtt()
492 sctx->spm.bo ? &spm_trace : NULL); in si_handle_sqtt()
494 if (sctx->spm.ptr) in si_handle_sqtt()
495 sctx->ws->buffer_unmap(sctx->ws, sctx->spm.bo); in si_handle_sqtt()