Commit 23551556 authored by nerdopolis's avatar nerdopolis Committed by Olivier Fourdan
Browse files

xf86: Accept devices with the 'simpledrm' driver.

SimpleDRM 'devices' are a fallback device, and do not have a busid
so they are getting skipped. This will allow simpledrm to work
with the modesetting driver

(cherry picked from commit b9218fad

Signed-off-by: Jocelyn Falempe's avatarJocelyn Falempe <>
parent d2ce97bd
Pipeline #572719 passed with stages
in 2 minutes and 52 seconds
......@@ -546,8 +546,13 @@ xf86platformProbeDev(DriverPtr drvp)
else {
/* for non-seat0 servers assume first device is the master */
if (ServerIsNotSeat0())
if (ServerIsNotSeat0()) {
} else {
/* Accept the device if the driver is simpledrm */
if (strcmp(xf86_platform_devices[j].attribs->driver, "simpledrm") == 0)
if (xf86IsPrimaryPlatform(&xf86_platform_devices[j]))
Supports Markdown
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