OSDN Git Service

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)
commit98735739cff5cddd28efeb01296f4fc70eaf6c89
tree95e03c6b311dae9901682a1543672710c7415a05
parentbfd8ad4e4a180b95d500c76280ddc01f23f92b9d
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