Re: [Intel-gfx] [PATCH] drm/i915: vlv: fix display IRQ enable/disable

2014-09-15 Thread Daniel Vetter
On Mon, Sep 08, 2014 at 03:21:09PM +0300, Imre Deak wrote: > We want to enable/disable display IRQs only if global i915 IRQs are > enabled. To check the latter it's not enough to consult the DRM > dev->irq_enabled flag, since runtime PM can disable/enable IRQs > and it won't adjust this flag only t

[Intel-gfx] [PATCH] drm/i915: vlv: fix display IRQ enable/disable

2014-09-08 Thread Imre Deak
We want to enable/disable display IRQs only if global i915 IRQs are enabled. To check the latter it's not enough to consult the DRM dev->irq_enabled flag, since runtime PM can disable/enable IRQs and it won't adjust this flag only the i915 specific dev_priv->pm._irqs_disabled flag. Fix this by usin