[PATCH driver/vesa] Use default refresh by default
walter harms
wharms at bfs.de
Wed Jul 31 08:37:26 PDT 2013
Am 31.07.2013 17:28, schrieb Egbert Eich:
> 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 | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/src/vesa.c b/src/vesa.c
> index b73d104..40fb408 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 manu VBE 3.0
^^^^^^ many ?
> + * BIOSes are incorrectly implemented.
> + */
> + pVesa->defaultRefresh = xf86ReturnOptValBool(pVesa->Options,
> + OPTION_DFLT_REFRESH, TRUE);
>
> pVesa->ModeSetClearScreen = FALSE;
> if (xf86ReturnOptValBool(pVesa->Options, OPTION_MODESET_CLEAR_SCREEN,
More information about the xorg-devel
mailing list