From 68c2914f1775541784e6cf88019960342d8433bc Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Fri, 12 Jun 2009 17:34:43 -0700 Subject: Fix modesets on certain GPUs that were broken by the previous commit. --- src/g80_display.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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]; -- cgit v1.2.3