Make all G4X chips use the new framecount register.
authorHasso Tepper <hasso@estpak.ee>
Mon, 22 Jun 2009 19:14:14 +0000 (22:14 +0300)
committerHasso Tepper <hasso@estpak.ee>
Mon, 22 Jun 2009 19:54:28 +0000 (22:54 +0300)
commit09c555ecb195aa889889349a7d2b4d31eaf6c22b
tree4e1fa96b62b820bde7d29f829500a16d6c9fee1f
parentc6b8e74a50046472a27eb0cda2988f14aa6fb97f
Make all G4X chips use the new framecount register.

The G45 docs indicate that all G4X chips use the new framecount register.
Intel agrees with my reading of the docs, make it so for all G4X chips.

The new register also has a 32 bit width as opposed to 24 bits.  Fix
things up so that the counters roll over properly.

Obtained-from: FreeBSD
sys/dev/drm/i915_dma.c
sys/dev/drm/i915_drv.h
sys/dev/drm/i915_irq.c