radeonsi/sqtt: disable SE1+ on GFX11
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20529>
This commit is contained in:

committed by
Marge Bot

parent
2e3dc3838e
commit
a3dc8b870d
@@ -74,6 +74,10 @@ si_thread_trace_init_bo(struct si_context *sctx)
|
||||
static bool
|
||||
si_se_is_disabled(struct si_context* sctx, unsigned se)
|
||||
{
|
||||
/* FIXME: SQTT only works on SE0 for some unknown reasons. */
|
||||
if (sctx->screen->info.gfx_level == GFX11)
|
||||
return se != 0;
|
||||
|
||||
/* No active CU on the SE means it is disabled. */
|
||||
return sctx->screen->info.cu_mask[se][0] == 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user