Commit c99fb550 authored by Dave Airlie's avatar Dave Airlie Committed by Adam Jackson

xf86: don't add gpus from udev if autoAddGPU is set

At startup the server wasn't adding devices, but nothing
was blocking hotplug devices by the look of it.

bugzilla: 's avatarDave Airlie <>
Reviewed-by: 's avatarHans de Goede <>
parent 912f1fe2
......@@ -477,6 +477,9 @@ xf86platformAddDevice(int index)
screenLayoutPtr layout;
static const char *hotplug_driver_name = "modesetting";
if (!xf86Info.autoAddGPU)
return -1;
/* force load the driver for now */
xf86LoadOneModule(hotplug_driver_name, NULL);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment