[PATCH V2 driver/vesa] Use default refresh by default

Egbert Eich eich at freedesktop.org
Wed Aug 14 04:42:59 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>
---
v2: Fixed spelling.

 src/vesa.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/vesa.c b/src/vesa.c
index b73d104..931341a 100644
--- a/src/vesa.c
+++ b/src/vesa.c
@@ -841,8 +841,12 @@ VESAPreInit(ScrnInfoPtr pScrn, int flags)
     if (xf86ReturnOptValBool(pVesa->Options, OPTION_SHADOW_FB, TRUE)) 
 	pVesa->shadowFB = TRUE;
 
-    if (xf86ReturnOptValBool(pVesa->Options, OPTION_DFLT_REFRESH, FALSE))
-	pVesa->defaultRefresh = TRUE;
+    /*
+     * Use default refresh by default. Too many VBE 3.0
+     * BIOSes are incorrectly implemented.
+     */
+    pVesa->defaultRefresh = xf86ReturnOptValBool(pVesa->Options,
+						 OPTION_DFLT_REFRESH, TRUE);
 
     pVesa->ModeSetClearScreen = FALSE;
     if (xf86ReturnOptValBool(pVesa->Options, OPTION_MODESET_CLEAR_SCREEN, 
-- 
1.8.1.4



More information about the xorg-devel mailing list