diff options
author | Alex Deucher <alex@t41p.hsd1.va.comcast.net> | 2007-10-17 20:25:47 -0400 |
---|---|---|
committer | Alex Deucher <alex@t41p.hsd1.va.comcast.net> | 2007-10-17 20:25:47 -0400 |
commit | 115b4b65ef679a46d90b7fc8ac22ace37038b3fc (patch) | |
tree | b5ecfcf847ca91be5e5785b26cf9733e164d4c5b /src/radeon_modes.c | |
parent | f2eb5c1cc69a4f7b0754ec6b2efde4fa1650ab6d (diff) |
RADEON: Remove LVDSBiosNativeMode Option
Shouldn't be needed any longer as I've finally sorted out
the LVDS issues due to the crtc setup.
Diffstat (limited to 'src/radeon_modes.c')
-rw-r--r-- | src/radeon_modes.c | 39 |
1 files changed, 16 insertions, 23 deletions
diff --git a/src/radeon_modes.c b/src/radeon_modes.c index e01c1e13..45e51694 100644 --- a/src/radeon_modes.c +++ b/src/radeon_modes.c @@ -104,29 +104,22 @@ static DisplayModePtr RADEONFPNativeMode(xf86OutputPtr output) radeon_output->PanelYRes != 0 && radeon_output->DotClock != 0) { - if (info->LVDSBiosNativeMode) { - new = xnfcalloc(1, sizeof (DisplayModeRec)); - sprintf(stmp, "%dx%d", radeon_output->PanelXRes, radeon_output->PanelYRes); - new->name = xnfalloc(strlen(stmp) + 1); - strcpy(new->name, stmp); - new->HDisplay = radeon_output->PanelXRes; - new->VDisplay = radeon_output->PanelYRes; - - new->HTotal = new->HDisplay + radeon_output->HBlank; - new->HSyncStart = new->HDisplay + radeon_output->HOverPlus; - new->HSyncEnd = new->HSyncStart + radeon_output->HSyncWidth; - new->VTotal = new->VDisplay + radeon_output->VBlank; - new->VSyncStart = new->VDisplay + radeon_output->VOverPlus; - new->VSyncEnd = new->VSyncStart + radeon_output->VSyncWidth; - - new->Clock = radeon_output->DotClock; - new->Flags = 0; - - } else { - /* Add native panel size */ - new = xf86CVTMode(radeon_output->PanelXRes, radeon_output->PanelYRes, 60.0, FALSE, FALSE); - - } + new = xnfcalloc(1, sizeof (DisplayModeRec)); + sprintf(stmp, "%dx%d", radeon_output->PanelXRes, radeon_output->PanelYRes); + new->name = xnfalloc(strlen(stmp) + 1); + strcpy(new->name, stmp); + new->HDisplay = radeon_output->PanelXRes; + new->VDisplay = radeon_output->PanelYRes; + + new->HTotal = new->HDisplay + radeon_output->HBlank; + new->HSyncStart = new->HDisplay + radeon_output->HOverPlus; + new->HSyncEnd = new->HSyncStart + radeon_output->HSyncWidth; + new->VTotal = new->VDisplay + radeon_output->VBlank; + new->VSyncStart = new->VDisplay + radeon_output->VOverPlus; + new->VSyncEnd = new->VSyncStart + radeon_output->VSyncWidth; + + new->Clock = radeon_output->DotClock; + new->Flags = 0; if (new) { new->type = M_T_DRIVER | M_T_PREFERRED; |