radv: do not set OREO_MODE to fix rare corruption on GFX11

Ported from RadeonSI 3f108e7615.
Seems to be a recommendation from the AMD hw team.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26333>
(cherry picked from commit ad7efdea6e)
This commit is contained in:
Samuel Pitoiset 2023-11-22 17:33:39 +01:00 committed by Eric Engestrom
parent 2d4868629f
commit 5e1fe5d0fd
2 changed files with 2 additions and 3 deletions

View file

@ -244,7 +244,7 @@
"description": "radv: do not set OREO_MODE to fix rare corruption on GFX11",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -2033,8 +2033,7 @@ radv_gfx11_set_db_render_control(const struct radv_device *device, unsigned num_
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);
}
VKAPI_ATTR VkResult VKAPI_CALL