drm/i915: Merge duplicate gen4 and vlv/chv enable vblank callbacks
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 7 Oct 2016 19:49:52 +0000 (20:49 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 13 Oct 2016 20:58:52 +0000 (21:58 +0100)
commit86e83e35d190a9b553384e0e711091a4e9643998
tree987870131b73818fbb8c1869a3fb5f33a44488ad
parentf7170e2eb8f6bf7ef2032cc0659cd38740bf5b97
drm/i915: Merge duplicate gen4 and vlv/chv enable vblank callbacks

gen4/vlv/chv all use the same bits in pipestat to enable the vblank
interrupt, so they can share the same callbacks to enable/disable.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161007194953.15616-1-chris@chris-wilson.co.uk
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c