drm/i915: apply G45 vblank count code to all G4x chips and fix max_frame_count
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 5 May 2009 20:13:16 +0000 (13:13 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 5 Jun 2009 14:22:31 +0000 (14:22 +0000)
commit42c2798b35b95c471877133e19ccc3cab00e9b65
treecb0753984d1bc5bd335c99d6ef30c3de103412fd
parent70aa96ca2d8d938fc036ef8fd189b0151f4fc3ba
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>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_irq.c