[PATCH] xfree86: add modesetting driver to fallback list on Linux

Peter Hutterer peter.hutterer at who-t.net
Mon May 7 15:25:04 PDT 2012


On Sun, May 06, 2012 at 05:36:45PM +0100, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> Add the modesetting driver to the fallback list on Linux, after vesa
> before fbdev.
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>

Acked-by: Peter Hutterer <peter.hutterer at who-t.net>

Cheers,
  Peter

> ---
>  hw/xfree86/common/xf86AutoConfig.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c
> index 43c746b..d0eb0af 100644
> --- a/hw/xfree86/common/xf86AutoConfig.c
> +++ b/hw/xfree86/common/xf86AutoConfig.c
> @@ -270,6 +270,10 @@ listPossibleVideoDrivers(char *matches[], int nmatches)
>  #endif
>      }
>  
> +#if defined(__linux__)
> +    matches[i++] = xnfstrdup("modesetting");
> +#endif
> +
>  #if !defined(sun)
>      /* Fallback to platform default frame buffer driver */
>      if (i < (nmatches - 1)) {
> -- 
> 1.7.7.6
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 


More information about the xorg-devel mailing list