|
@@ -2628,10 +2628,6 @@ static int i915_enable_vblank(struct drm_device *dev, int pipe)
|
|
|
else
|
|
|
i915_enable_pipestat(dev_priv, pipe,
|
|
|
PIPE_VBLANK_INTERRUPT_STATUS);
|
|
|
-
|
|
|
- /* maintain vblank delivery even in deep C-states */
|
|
|
- if (INTEL_INFO(dev)->gen == 3)
|
|
|
- I915_WRITE(INSTPM, _MASKED_BIT_DISABLE(INSTPM_AGPBUSY_DIS));
|
|
|
spin_unlock_irqrestore(&dev_priv->irq_lock, irqflags);
|
|
|
|
|
|
return 0;
|
|
@@ -2695,9 +2691,6 @@ static void i915_disable_vblank(struct drm_device *dev, int pipe)
|
|
|
unsigned long irqflags;
|
|
|
|
|
|
spin_lock_irqsave(&dev_priv->irq_lock, irqflags);
|
|
|
- if (INTEL_INFO(dev)->gen == 3)
|
|
|
- I915_WRITE(INSTPM, _MASKED_BIT_ENABLE(INSTPM_AGPBUSY_DIS));
|
|
|
-
|
|
|
i915_disable_pipestat(dev_priv, pipe,
|
|
|
PIPE_VBLANK_INTERRUPT_STATUS |
|
|
|
PIPE_START_VBLANK_INTERRUPT_STATUS);
|