[Intel-gfx] [PATCH 05/15] drm/i915: add INTEL_IRQ_REG_INIT

Chris Wilson chris at chris-wilson.co.uk
Wed Jul 24 13:13:36 CEST 2013


On Tue, Jul 23, 2013 at 07:33:45PM -0300, Paulo Zanoni wrote:
> @@ -2519,9 +2518,7 @@ static int i915_irq_postinstall(struct drm_device *dev)
>  		dev_priv->irq_mask &= ~I915_DISPLAY_PORT_INTERRUPT;
>  	}
>  
> -	I915_WRITE(IMR, dev_priv->irq_mask);
> -	I915_WRITE(IER, enable_mask);
> -	POSTING_READ(IER);
> +	INTEL_IRQ_REG_INIT(I, false, enable_mask, dev_priv->irq_mask);
>  
>  	i915_enable_asle_pipestat(dev);
>  
> @@ -2751,6 +2748,7 @@ static int i965_irq_postinstall(struct drm_device *dev)
>  	I915_WRITE(IMR, dev_priv->irq_mask);
>  	I915_WRITE(IER, enable_mask);
>  	POSTING_READ(IER);
> +	INTEL_IRQ_REG_INIT(I, false, enable_mask, dev_priv->irq_mask);
>  
>  	I915_WRITE(PORT_HOTPLUG_EN, 0);
>  	POSTING_READ(PORT_HOTPLUG_EN);

Change missing?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list