xf86-video-nv: src/g80_display.c
Aaron Plattner
aplattner at kemper.freedesktop.org
Fri Jun 12 17:35:21 PDT 2009
src/g80_display.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 68c2914f1775541784e6cf88019960342d8433bc
Author: Aaron Plattner <aplattner at nvidia.com>
Date: Fri Jun 12 17:34:43 2009 -0700
Fix modesets on certain GPUs that were broken by the previous commit.
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];
More information about the xorg-commit
mailing list