Re: [PATCH 05/15] drm/i915: add INTEL_IRQ_REG_INIT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux