]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gen8+: Do not enable DPF interrupt since the handler does not exist
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 19 Apr 2016 15:46:08 +0000 (16:46 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 20 Apr 2016 08:59:16 +0000 (09:59 +0100)
commitd8cff55e25982c4afdf765db394702cf64c9dd90
tree95e03c6b311dae9901682a1543672710c7415a05
parent9a6e0f3a9cb8121e93b3f625ca0c09746909624d
drm/i915/gen8+: Do not enable DPF interrupt since the handler does not exist

Looks like DPF was not implemented for gen8+ but the IER and IMR
are still enabled on initialization.

Since there is no code to handle this interrupt, gate the irq
enablement behind HAS_L3_DPF in case the feature gets enabled
in the future.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/i915_irq.c