drm/i915: properly reenable gen8 pipe IRQs
authorFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 13 Sep 2015 10:46:59 +0000 (12:46 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 13 Sep 2015 10:54:15 +0000 (12:54 +0200)
commitacf467cbfaf7ed6f2f14b125043829cb82aee35e
tree9ed9b1254f09ca94522a5ef5daa6425a2a249817
parent86bc58f0672fea3821ec218e1fbce562da0e7e1a
drm/i915: properly reenable gen8 pipe IRQs

This is commit 18c22448d791a5c329528e495f19b639dd7a3dec from Linux 3.17.8
Original author: Paulo Zanoni <paulo.r.zanoni@intel.com>
Original commit message:

commit 1180e20606fd7c5d76dc5b2a1594fa51ba5a0f31 upstream.

We were missing the pipe B/C vblank bits! Take a look at
gen8_de_irq_postinstall for a comparison.

This should fix a bunch of IGT tests.

There are a few more things we could improve on this code, but this
should be the minimal fix to unblock us.

v2: s/extra_iir/extra_ier/ because IIR doesn't make sense (Ville)

Bugzilla:https://bugs.freedesktop.org/show_bug.cgi?id=83640
Testcase: igt/*
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sys/dev/drm/i915/i915_irq.c