diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-05-05 13:13:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-08-16 14:18:20 -0700 |
commit | 3b5346cf631108c33450bbf942e69409fa2a2d6a (patch) | |
tree | bb4b43df60d7db929225fdd517c7f34216734e0b /drivers/gpu/drm/i915/i915_irq.c | |
parent | 6e8b2886d858e64fef562d52b89da303d5df1e94 (diff) |
drm/i915: apply G45 vblank count code to all G4x chips and fix max_frame_count
(cherry picked from commit 42c2798b35b95c471877133e19ccc3cab00e9b65)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_irq.c | 2 |
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 98bb4c878c4..8ee09695933 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drivers/gpu/drm/i915/i915_irq.c @@ -572,8 +572,6 @@ int i915_driver_irq_postinstall(struct drm_device *dev) dev_priv->vblank_pipe = DRM_I915_VBLANK_PIPE_A | DRM_I915_VBLANK_PIPE_B; - dev->max_vblank_count = 0xffffff; /* only 24 bits of frame count */ - /* Unmask the interrupts that we always want on. */ dev_priv->irq_mask_reg = ~I915_INTERRUPT_ENABLE_FIX; |