drm/i915: WARN if interrupts aren't on in en/disable_pipestat
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 27 Aug 2014 08:43:37 +0000 (10:43 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Sep 2014 12:43:04 +0000 (14:43 +0200)
commitd518ce50e7c5bbdf0f1ff404b40cd073930af5a2
tree32387eb83a87ee2025ee6a6bcc898af191ffd610
parent8c50f10d73b50139dcfe48bc22f2c8c7822c1983
drm/i915: WARN if interrupts aren't on in en/disable_pipestat

Now that vlv has runtime pm we kinda should check for that like on the
pch split platforms. Looks like this was simply lost in the vlv rpm
enabling.

Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c