aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
-rw-r--r--drivers/gpu/drm/i915/i915_irq.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 98bb4c878c4e..4b0bcbd58b8f 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -484,7 +484,9 @@ void i915_disable_vblank(struct drm_device *dev, int pipe)
484void i915_enable_interrupt (struct drm_device *dev) 484void i915_enable_interrupt (struct drm_device *dev)
485{ 485{
486 struct drm_i915_private *dev_priv = dev->dev_private; 486 struct drm_i915_private *dev_priv = dev->dev_private;
487 opregion_enable_asle(dev); 487
488 if (!IS_IGDNG(dev))
489 opregion_enable_asle(dev);
488 dev_priv->irq_enabled = 1; 490 dev_priv->irq_enabled = 1;
489} 491}
490 492