diff options
author | Alex Deucher <alex@botch2.(none)> | 2007-10-15 20:33:56 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-10-15 20:33:56 -0400 |
commit | 571548b2b95ce289f26a77c11deb6266f0b18516 (patch) | |
tree | 4cccf9861d62a9cba6b685eab46b3148cb60e267 | |
parent | 2f87bff293a343b40c1be096933a5ae126632468 (diff) |
RADEON: use native timing for RMX
RMX should work again with native timings after the previous
patch.
-rw-r--r-- | src/radeon_output.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c index a5b13932..45a605d7 100644 --- a/src/radeon_output.c +++ b/src/radeon_output.c @@ -776,10 +776,14 @@ radeon_mode_fixup(xf86OutputPtr output, DisplayModePtr mode, } } - /* update clock for LVDS always and DFP if RMX is active */ - if ((radeon_output->MonType == MT_LCD) || - ((radeon_output->MonType == MT_DFP) && - (radeon_output->Flags & RADEON_USE_RMX))) { + /* update timing for LVDS and DFP if RMX is active */ + if (radeon_output->Flags & RADEON_USE_RMX) { + adjusted_mode->CrtcHTotal = mode->CrtcHDisplay + radeon_output->HBlank; + adjusted_mode->CrtcHSyncStart = mode->CrtcHDisplay + radeon_output->HOverPlus; + adjusted_mode->CrtcHSyncEnd = mode->CrtcHSyncStart + radeon_output->HSyncWidth; + adjusted_mode->CrtcVTotal = mode->CrtcVDisplay + radeon_output->VBlank; + adjusted_mode->CrtcVSyncStart = mode->CrtcVDisplay + radeon_output->VOverPlus; + adjusted_mode->CrtcVSyncEnd = mode->CrtcVSyncStart + radeon_output->VSyncWidth; adjusted_mode->Clock = radeon_output->DotClock; adjusted_mode->Flags = radeon_output->Flags; } |