ac: enable SHADOW_GLOBAL_CONFIG for preemptible ib
SHADOW_GLOBAL_CONFIG is mandatory for mid command buffer preemmption.
Fixes: 69014d8c94 (radeonsi: implement CP register shadowing)
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22916>
This commit is contained in:
@@ -4286,7 +4286,8 @@ void ac_create_shadowing_ib_preamble(const struct radeon_info *info,
|
||||
CC1_SHADOW_PER_CONTEXT_STATE(1) |
|
||||
CC1_SHADOW_CS_SH_REGS(1) |
|
||||
CC1_SHADOW_GFX_SH_REGS(1) |
|
||||
CC1_SHADOW_GLOBAL_UCONFIG(1));
|
||||
CC1_SHADOW_GLOBAL_UCONFIG(1) |
|
||||
CC1_SHADOW_GLOBAL_CONFIG(1));
|
||||
|
||||
if (!info->has_fw_based_shadowing) {
|
||||
for (unsigned i = 0; i < SI_NUM_SHADOWED_REG_RANGES; i++)
|
||||
|
||||
Reference in New Issue
Block a user