aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_irq.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2009-05-05 16:13:16 -0400
committerEric Anholt <eric@anholt.net>2009-06-05 10:22:31 -0400
commit42c2798b35b95c471877133e19ccc3cab00e9b65 (patch)
treecb0753984d1bc5bd335c99d6ef30c3de103412fd /drivers/gpu/drm/i915/i915_irq.c
parent70aa96ca2d8d938fc036ef8fd189b0151f4fc3ba (diff)
drm/i915: apply G45 vblank count code to all G4x chips and fix max_frame_count
All G4x and newer chips use the new style frame count register, with a full 32 bit frame count. Update the code to reflect this. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
-rw-r--r--drivers/gpu/drm/i915/i915_irq.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 4b0bcbd58b8f..701d6809deb7 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -574,8 +574,6 @@ int i915_driver_irq_postinstall(struct drm_device *dev)
574 574
575 dev_priv->vblank_pipe = DRM_I915_VBLANK_PIPE_A | DRM_I915_VBLANK_PIPE_B; 575 dev_priv->vblank_pipe = DRM_I915_VBLANK_PIPE_A | DRM_I915_VBLANK_PIPE_B;
576 576
577 dev->max_vblank_count = 0xffffff; /* only 24 bits of frame count */
578
579 /* Unmask the interrupts that we always want on. */ 577 /* Unmask the interrupts that we always want on. */
580 dev_priv->irq_mask_reg = ~I915_INTERRUPT_ENABLE_FIX; 578 dev_priv->irq_mask_reg = ~I915_INTERRUPT_ENABLE_FIX;
581 579