[PATCH driver/vesa] Use default refresh by default
Egbert Eich
eich at freedesktop.org
Wed Jul 31 02:37:09 PDT 2013
This seems to be a feature that isn't tested well.
Too many VBE 3.0 BIOSes are incorrectly implemented.
Signed-off-by: Egbert Eich <eich at freedesktop.org>
---
src/vesa.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/vesa.c b/src/vesa.c
index 0412050..8de1983 100644
--- a/src/vesa.c
+++ b/src/vesa.c
@@ -842,8 +842,13 @@ VESAPreInit(ScrnInfoPtr pScrn, int flags)
xf86GetOptValBool(pVesa->Options, OPTION_SHADOW_FB,
&pVesa->shadowFB);
- if (xf86ReturnOptValBool(pVesa->Options, OPTION_DFLT_REFRESH, FALSE))
- pVesa->defaultRefresh = TRUE;
+ /*
+ * Use default refresh by default. Too manu VBE 3.0
+ * BIOSes are incorrectly implemented.
+ */
+ pVesa->defaultRefresh = TRUE;
+ xf86GetOptValBool(pVesa->Options, OPTION_DFLT_REFRESH,
+ &pVesa->defaultRefresh);
pVesa->ModeSetClearScreen = FALSE;
if (xf86ReturnOptValBool(pVesa->Options, OPTION_MODESET_CLEAR_SCREEN,
--
1.8.1.4
More information about the xorg-devel
mailing list