drm/i915: only check for irqs_disabled when disabling LCPLL
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 1 Apr 2014 22:39:47 +0000 (19:39 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 2 Apr 2014 14:57:07 +0000 (16:57 +0200)
commit9926ada1280767a039c4bc0f84549eb8f273c5de
tree137ad8a0df0bd7ad171cc38b4e01940aed7a4827
parent01fa03021fd9f0ee74efac000242083a67c9667e
drm/i915: only check for irqs_disabled when disabling LCPLL

Because if we keep the current code, we'll get tons of WARNs on
Broadwell, since the code is Haswell-specific.

We could have also added a Broadwell-specific code there, but it's not
really needed since we never disable LCPLL with the hotplug interrupts
still enabled. So keep the easy-and-simple-to-maintain solution until
we actually need something else.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c