[Intel-gfx] [PATCH 07/12] drm/i915: Write mmio workarounds after gpu reset

Chris Wilson chris at chris-wilson.co.uk
Wed Oct 7 01:43:07 PDT 2015


On Tue, Oct 06, 2015 at 05:26:48PM +0300, Mika Kuoppala wrote:
> @@ -6973,8 +6989,12 @@ void intel_init_clock_gating(struct drm_device *dev)
>  {
>  	struct drm_i915_private *dev_priv = dev->dev_private;
>  
> +	intel_wa_init(&dev_priv->mmio_workarounds);
> +
>  	if (dev_priv->display.init_clock_gating)
>  		dev_priv->display.init_clock_gating(dev);
> +
> +	intel_wa_write_mmio(dev_priv, &dev_priv->mmio_workarounds);
>  }

Given that we have this function which is in charge of setting the w/a
regs and is supposed to be called when initialising the hw after
load/reset/resume, why?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list