xfree86: add modesetting driver to fallback list on Linux

Add the modesetting driver to the fallback list on Linux, after vesa
before fbdev.

Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie 2012-05-06 17:35:34 +01:00
parent ba883a0f34
commit a2a02882ab

View File

@ -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)) {