Skip to content

Commit 037f934

Browse files
bhadanednyaneshwarmattrope
authored andcommitted
drm/i915/gt: Whitelist COMMON_SLICE_CHICKEN1 for UMD access.
As part of the recommended tuning setting, whitelist COMMON_SLICE_CHICKEN1 for MTL/ARL and DG2. The UMD will selectively enable or disable specific bits of the register based on the type of workload and its requirements. v2: Remove the KMD par of enabling specific bits(Matt R) Bspec: 68331 Signed-off-by: Dnyaneshwar Bhadane <[email protected]> Reviewed-by: Matt Roper <[email protected]> Signed-off-by: Matt Roper <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 3126d5f commit 037f934

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/i915/gt/intel_workarounds.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2071,7 +2071,7 @@ static void dg2_whitelist_build(struct intel_engine_cs *engine)
20712071
case RENDER_CLASS:
20722072
/* Required by recommended tuning setting (not a workaround) */
20732073
whitelist_mcr_reg(w, XEHP_COMMON_SLICE_CHICKEN3);
2074-
2074+
whitelist_reg(w, GEN7_COMMON_SLICE_CHICKEN1);
20752075
break;
20762076
default:
20772077
break;
@@ -2086,7 +2086,7 @@ static void xelpg_whitelist_build(struct intel_engine_cs *engine)
20862086
case RENDER_CLASS:
20872087
/* Required by recommended tuning setting (not a workaround) */
20882088
whitelist_mcr_reg(w, XEHP_COMMON_SLICE_CHICKEN3);
2089-
2089+
whitelist_reg(w, GEN7_COMMON_SLICE_CHICKEN1);
20902090
break;
20912091
default:
20922092
break;

0 commit comments

Comments
 (0)