summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2009-06-12 17:34:43 -0700
committerAaron Plattner <aplattner@nvidia.com>2009-06-12 17:34:43 -0700
commit68c2914f1775541784e6cf88019960342d8433bc (patch)
tree1a0f53f0c5c7e0d0dc4fbfec9b5391dad60aabf3 /src
parent36eb96854b34bee6b65a2b2d4df25f53b47194e4 (diff)
Fix modesets on certain GPUs that were broken by the previous commit.
Diffstat (limited to 'src')
-rw-r--r--src/g80_display.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/g80_display.c b/src/g80_display.c
index 1b1efe9..3cbaac3 100644
--- a/src/g80_display.c
+++ b/src/g80_display.c
@@ -208,7 +208,9 @@ G80CrtcSetPClk(xf86CrtcPtr crtc)
if(pPriv->pclk == 0)
return;
- if(pNv->architecture < 0xa0) {
+ if(pNv->architecture <= 0xa0 ||
+ pNv->architecture == 0xaa ||
+ pNv->architecture == 0xac) {
int lo_n, lo_m, hi_n, hi_m, p, i;
CARD32 lo = pNv->reg[(0x00614104+headOff)/4];
CARD32 hi = pNv->reg[(0x00614108+headOff)/4];