drm/i915: Optimize gen8_enable|disable_vblank functions
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 7 Nov 2013 10:05:45 +0000 (11:05 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 Nov 2013 17:10:13 +0000 (18:10 +0100)
commit7167d7c677ef066c56df276dc35b044c4840151a
tree0b60984efaa0f482ef74b8f486c4491dd0adc41e
parent0fbe7870d7e97d6fa595652a8f8eaf159e4bb6c9
drm/i915: Optimize gen8_enable|disable_vblank functions

Let's cache the IMR value like on other platforms. This is needed to
implement the underrun reporting since then we'll have two places that
change the same register at runtime.

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