summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-10-17 20:25:47 -0400
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-10-17 20:25:47 -0400
commit115b4b65ef679a46d90b7fc8ac22ace37038b3fc (patch)
treeb5ecfcf847ca91be5e5785b26cf9733e164d4c5b
parentf2eb5c1cc69a4f7b0754ec6b2efde4fa1650ab6d (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.
-rw-r--r--man/radeon.man8
-rw-r--r--src/radeon.h5
-rw-r--r--src/radeon_driver.c1
-rw-r--r--src/radeon_modes.c39
-rw-r--r--src/radeon_output.c9
5 files changed, 17 insertions, 45 deletions
diff --git a/man/radeon.man b/man/radeon.man
index 9168254b..35dd7010 100644
--- a/man/radeon.man
+++ b/man/radeon.man
@@ -383,14 +383,6 @@ case. This is only useful for LVDS panels (laptop internal panels).
The default is
.B on.
.TP
-.BI "Option \*qLVDSBiosNativeMode\*q \*q" boolean \*q
-On some laptops, the LVDS mode from the timing tables in the bios does
-not work properly. In those cases, a CVT mode seems to work better.
-If you get a blank screen or have LVDS display problems, disable this
-option to use a CVT mode.
-The default is
-.B on.
-.TP
.BI "Option \*qDRI\*q \*q" boolean \*q
Enable DRI support. This option allows you to enable to disable the DRI.
The default is
diff --git a/src/radeon.h b/src/radeon.h
index 6ee43b2e..7f9ff76e 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -157,8 +157,7 @@ typedef enum {
#if defined(__powerpc__)
OPTION_MAC_MODEL,
#endif
- OPTION_DEFAULT_TMDS_PLL,
- OPTION_LVDS_BIOS_NATIVE_MODE
+ OPTION_DEFAULT_TMDS_PLL
} RADEONOpts;
@@ -817,8 +816,6 @@ typedef struct {
RADEONMacModel MacModel;
#endif
- Bool LVDSBiosNativeMode;
-
Rotation rotation;
void (*PointerMoved)(int, int, int);
CreateScreenResourcesProcPtr CreateScreenResources;
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 9bb19339..8ebdd961 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -190,7 +190,6 @@ static const OptionInfoRec RADEONOptions[] = {
#if defined(__powerpc__)
{ OPTION_MAC_MODEL, "MacModel", OPTV_STRING, {0}, FALSE },
#endif
- { OPTION_LVDS_BIOS_NATIVE_MODE, "LVDSBiosNativeMode", OPTV_BOOLEAN, {0}, TRUE },
{ -1, NULL, OPTV_NONE, {0}, FALSE }
};
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;
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 6acbb53e..214167fd 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -2450,15 +2450,6 @@ RADEONGetLVDSInfo (xf86OutputPtr output)
}
}
- info->LVDSBiosNativeMode = TRUE;
- if (!xf86ReturnOptValBool(info->Options, OPTION_LVDS_BIOS_NATIVE_MODE, TRUE)) {
- info->LVDSBiosNativeMode = FALSE;
- xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Using CVT mode for LVDS\n");
- } else {
- xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Using LVDS Native Mode\n");
- }
-
-
/* The panel size we collected from BIOS may not be the
* maximum size supported by the panel. If not, we update
* it now. These will be used if no matching mode can be