ac/cmdbuf: disable ENABLE_PING_PONG_BIN_ORDER on GFX11.5

Might be a hardware bug.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14240
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit ae34627e54)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39462>
This commit is contained in:
Samuel Pitoiset 2026-01-14 16:38:24 +00:00 committed by Dylan Baker
parent 6aee181cad
commit 81de75b0d7
2 changed files with 5 additions and 3 deletions

View file

@ -804,7 +804,7 @@
"description": "ac/cmdbuf: disable ENABLE_PING_PONG_BIN_ORDER on GFX11.5",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -577,8 +577,10 @@ gfx10_init_graphics_preamble_state(const struct ac_preamble_state *state,
S_028C48_MAX_ALLOC_COUNT(info->pbb_max_alloc_count - gfx10_one) |
S_028C48_MAX_PRIM_PER_BATCH(1023));
if (info->gfx_level >= GFX11) {
ac_pm4_set_reg(pm4, R_028C54_PA_SC_BINNER_CNTL_2,
S_028C54_ENABLE_PING_PONG_BIN_ORDER(info->gfx_level >= GFX11_5));
/* Ping pong binning order is supported on GFX11.5 but it seems to
* cause rendering issues. Might be a hardware bug.
*/
ac_pm4_set_reg(pm4, R_028C54_PA_SC_BINNER_CNTL_2, S_028C54_ENABLE_PING_PONG_BIN_ORDER(0));
}
/* Break up a pixel wave if it contains deallocs for more than