drm/i915: Extract intel_hpd_enabled_irqs()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 27 Aug 2015 20:55:57 +0000 (23:55 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 2 Sep 2015 14:51:04 +0000 (16:51 +0200)
commit87a0210665eeca7c5fa237592da025650b216831
tree16c4c935c2f88662f0e64cb0ebb1749ec30ae0b5
parent40bfd7a3303b7c383493c80a250c59b61d812ce5
drm/i915: Extract intel_hpd_enabled_irqs()

Eliminate a bunch of duplicated code that calculates the currently
enabled HPD interrupt bits.

v2: s/;/:/ in patch subject (Paulo)

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-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