From 550af781bd9f7cb7256b298281c2c27febfc4722 Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Mon, 2 Apr 2007 09:42:11 -0700 Subject: G80: Use the right mode struct when setting up an SOR. --- src/g80_sor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/g80_sor.c b/src/g80_sor.c index fe34e7e..74bccb0 100644 --- a/src/g80_sor.c +++ b/src/g80_sor.c @@ -64,9 +64,9 @@ G80SorModeSet(xf86OutputPtr output, DisplayModePtr mode, C(0x00000600 + sorOff, (G80CrtcGetHead(output->crtc) == HEAD0 ? 1 : 2) | - (mode->SynthClock > 165000 ? 0x500 : 0x100) | - ((mode->Flags & V_NHSYNC) ? 0x1000 : 0) | - ((mode->Flags & V_NVSYNC) ? 0x2000 : 0)); + (adjusted_mode->Clock > 165000 ? 0x500 : 0x100) | + ((adjusted_mode->Flags & V_NHSYNC) ? 0x1000 : 0) | + ((adjusted_mode->Flags & V_NVSYNC) ? 0x2000 : 0)); } static xf86OutputStatus -- cgit v1.2.3