drm/i915: Adjust CRC capture for pre-gen5/vlv
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 16 Oct 2013 20:55:53 +0000 (22:55 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 21 Oct 2013 16:32:18 +0000 (18:32 +0200)
commit0b5c5ed072b8e0de8dc4e085dbd855e440c58bf4
tree15fd80fe759c1a313421584ac2f9fa43bf543e6d
parent1cf84bb6ae2d49ce06ffa93c6293edfff70bed55
drm/i915: Adjust CRC capture for pre-gen5/vlv

Should work down to gen2. The #defines for the interrupt sources are
already there in PIPESTAT and are the same on all gmch platforms for
gen2 up to vlv.

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