mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 00:00:12 +01:00
radeonsi: disable register shadowing without SR-IOV to fix bad performance
Fixes: f71607c8d3 - radeonsi/gfx11: enable register shadowing by default
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25484>
This commit is contained in:
parent
865cab6a1c
commit
6224630e43
1 changed files with 1 additions and 2 deletions
|
|
@ -1175,8 +1175,7 @@ static struct pipe_screen *radeonsi_screen_create_impl(struct radeon_winsys *ws,
|
|||
sscreen->info.use_display_dcc_with_retile_blit = false;
|
||||
}
|
||||
|
||||
if (sscreen->debug_flags & DBG(SHADOW_REGS) ||
|
||||
sscreen->info.gfx_level >= GFX11) {
|
||||
if (sscreen->debug_flags & DBG(SHADOW_REGS)) {
|
||||
sscreen->info.register_shadowing_required = true;
|
||||
/* Recompute has_set_pairs_packets. */
|
||||
sscreen->info.has_set_pairs_packets = sscreen->info.gfx_level >= GFX11 &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue