drm/i915/gen8: Factor out display interrupt handling
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 12 Jan 2016 16:04:07 +0000 (16:04 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 13 Jan 2016 10:01:53 +0000 (10:01 +0000)
commitf11a0f46a2c32207a47322610ae4b214b5bab23e
treef0e6cf2226eafbfa6184348f88c66609c02dff7e
parente32192e1ae9884200ee340e7c839bf24f4f1f928
drm/i915/gen8: Factor out display interrupt handling

Tidy quite long interrupt service routine by factoring out
the display part.

This simplifies the exit path a little bit, makes the code
a bit more readable, and potentialy makes code reuse in the
future easier.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1452614647-13973-2-git-send-email-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_irq.c