diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2007-04-02 09:42:11 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2007-04-13 21:24:45 -0700 |
commit | 550af781bd9f7cb7256b298281c2c27febfc4722 (patch) | |
tree | 5c956f87623b1f5f134b1ae768756159d04f6770 /src/g80_sor.c | |
parent | 5c03bd8acfcc814890fb13c891be4f135ea800d4 (diff) |
G80: Use the right mode struct when setting up an SOR.
Diffstat (limited to 'src/g80_sor.c')
-rw-r--r-- | src/g80_sor.c | 6 |
1 files 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 |