ac/spm: fix GRBM broadcasting for global blocks

They should broadcast SE and SA.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit c8cb0f5941)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39462>
This commit is contained in:
Samuel Pitoiset 2025-12-24 08:42:12 +01:00 committed by Dylan Baker
parent e82b446a32
commit 8ce3e30dd8
2 changed files with 3 additions and 2 deletions

View file

@ -1454,7 +1454,7 @@
"description": "ac/spm: fix GRBM broadcasting for global blocks",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -7,6 +7,7 @@
#include "ac_spm.h"
#include "util/bitscan.h"
#include "util/compiler.h"
#include "util/u_memory.h"
#include "ac_perfcounter.h"
@ -202,7 +203,7 @@ ac_spm_init_grbm_gfx_index(const struct ac_pc_block *block,
case GL2C:
/* Global blocks. */
grbm_gfx_index |= S_030800_SE_BROADCAST_WRITES(1);
break;
FALLTHROUGH;
case SQ:
/* Per-SE blocks. */
grbm_gfx_index |= S_030800_SH_BROADCAST_WRITES(1);