drm/i915: Wire up cpu fifo underrun reporting support for bdw
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 7 Nov 2013 10:05:46 +0000 (11:05 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 Nov 2013 17:10:13 +0000 (18:10 +0100)
commit38d83c96a3f67ba2cfb7454f310791a3c58e71ad
tree446e13738c1949e6a113a9288ec447213f59c3df
parent7167d7c677ef066c56df276dc35b044c4840151a
drm/i915: Wire up cpu fifo underrun reporting support for bdw

HW engineers have listened and given us again a real interrupt with
masking and status regs. Yay!

For consistency with other platforms call the #define FIFO_UNDERRUN.
Eventually we also might need to have some enable/disable functions
for bdw display interrupts, but for now open-coding seems to be good
enough.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h