[Intel-gfx] [PATCH] drm/i915: Return IDI Hash Mask setup for gen9+

Chris Wilson chris at chris-wilson.co.uk
Thu Sep 14 19:25:11 UTC 2017


Quoting Rodrigo Vivi (2017-09-14 20:18:41)
> diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
> index f445587c1a4b..25b59dbb29b0 100644
> --- a/drivers/gpu/drm/i915/i915_gem.c
> +++ b/drivers/gpu/drm/i915/i915_gem.c
> @@ -4714,7 +4714,7 @@ int i915_gem_init_hw(struct drm_i915_private *dev_priv)
>         /* Double layer security blanket, see i915_gem_init() */
>         intel_uncore_forcewake_get(dev_priv, FORCEWAKE_ALL);
>  
> -       if (HAS_EDRAM(dev_priv) && INTEL_GEN(dev_priv) < 9)
> +       if (HAS_EDRAM(dev_priv))
>                 I915_WRITE(HSW_IDICR, I915_READ(HSW_IDICR) | IDIHASHMSK(0xf));

> "It is required for GFX Driver to set [19:16] to 1 when
> eDRAM configuration is enabled."

0xf != 1 ?
-Chris


More information about the Intel-gfx mailing list