From a3dc8b870d62bac047007d8ca333e103912f203e Mon Sep 17 00:00:00 2001 From: Pierre-Eric Pelloux-Prayer Date: Wed, 4 Jan 2023 13:23:41 +0100 Subject: [PATCH] radeonsi/sqtt: disable SE1+ on GFX11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Part-of: --- src/gallium/drivers/radeonsi/si_sqtt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gallium/drivers/radeonsi/si_sqtt.c b/src/gallium/drivers/radeonsi/si_sqtt.c index f7e85ddb509..3a7233bcfa1 100644 --- a/src/gallium/drivers/radeonsi/si_sqtt.c +++ b/src/gallium/drivers/radeonsi/si_sqtt.c @@ -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; }