radeonsi/gfx11: don't set OREO_MODE to fix rare corruption

This is recommended by hw people.

Fixes: 19a59f05a4 - radeonsi/gfx11: program db render control register

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25941>
(cherry picked from commit 3f108e7615)
This commit is contained in:
Marek Olšák 2023-11-05 11:42:33 -05:00 committed by Eric Engestrom
parent a28ea69d0a
commit 12ab5dfd52
2 changed files with 2 additions and 3 deletions

View file

@ -394,7 +394,7 @@
"description": "radeonsi/gfx11: don't set OREO_MODE to fix rare corruption",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "19a59f05a47901a237b506154f2cfedfab9066bc",
"notes": null

View file

@ -1570,8 +1570,7 @@ static void si_emit_db_render_state(struct si_context *sctx, unsigned index)
max_allowed_tiles_in_wave = 15;
}
db_render_control |= S_028000_OREO_MODE(V_028000_OMODE_O_THEN_B) |
S_028000_MAX_ALLOWED_TILES_IN_WAVE(max_allowed_tiles_in_wave);
db_render_control |= S_028000_MAX_ALLOWED_TILES_IN_WAVE(max_allowed_tiles_in_wave);
}
/* DB_COUNT_CONTROL (occlusion queries) */