drm/i915: apply G45 vblank count code to all G4x chips and fix max_frame_count
commit3b5346cf631108c33450bbf942e69409fa2a2d6a
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 5 May 2009 20:13:16 +0000 (5 13:13 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 16 Aug 2009 21:18:20 +0000 (16 14:18 -0700)
treebb4b43df60d7db929225fdd517c7f34216734e0b
parent6e8b2886d858e64fef562d52b89da303d5df1e94
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>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_irq.c