Commit b9218fad authored by nerdopolis's avatar nerdopolis Committed by Povilas Kanapickas
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
parent 4b75e657
Pipeline #419241 passed with stages
in 5 minutes and 6 seconds
......@@ -557,8 +557,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