xfree86: Add "modesetting" to list of fallback drivers
To make X -configure work properly, the output of fixup_video_driver_list() should be in order of preference. Otherwise, the config file may use the incorrect driver for some devices. In particular, the drivers that work for all (or many) devices need to be last in the list. Since the modesetting driver works for many devices, it needs to be considered a fallback driver. Signed-off-by: Søren Sandmann <ssp@redhat.com> Acked-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
ab47ec9636
commit
63c48de63b
|
@ -519,7 +519,7 @@ xf86InputDriverlistFromConfig(void)
|
|||
static void
|
||||
fixup_video_driver_list(const char **drivers)
|
||||
{
|
||||
static const char *fallback[4] = { "fbdev", "vesa", "wsfb", NULL };
|
||||
static const char *fallback[5] = { "modesetting", "fbdev", "vesa", "wsfb", NULL };
|
||||
const char **end, **drv;
|
||||
const char *x;
|
||||
int i;
|
||||
|
|
Loading…
Reference in New Issue
Block a user