Skip to content

Commit 666fbcf

Browse files
committed
drm/i915: Don't program eLLC IDI hash mask for gen9+
For gen9 onwards, eDRAM is a true memory side cache. So there is no need to program idi hash mask as it is for eLLC only. v2: INTEL_GEN (Chris), s/has/hash (Matthew) Signed-off-by: Mika Kuoppala <[email protected]> Reviewed-by: Matthew Auld <[email protected]>
1 parent 3cb26e2 commit 666fbcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/i915_gem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4892,7 +4892,7 @@ i915_gem_init_hw(struct drm_device *dev)
48924892
/* Double layer security blanket, see i915_gem_init() */
48934893
intel_uncore_forcewake_get(dev_priv, FORCEWAKE_ALL);
48944894

4895-
if (dev_priv->ellc_size)
4895+
if (dev_priv->ellc_size && INTEL_GEN(dev_priv) < 9)
48964896
I915_WRITE(HSW_IDICR, I915_READ(HSW_IDICR) | IDIHASHMSK(0xf));
48974897

48984898
if (IS_HASWELL(dev))

0 commit comments

Comments
 (0)