Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
xorg-x11-server.28109
u_xf86-Accept-devices-with-the-simpledrm-driver...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File u_xf86-Accept-devices-with-the-simpledrm-driver.patch of Package xorg-x11-server.28109
From b89fdd523e2c9e9b0cdf37b263833c4b0a8868b8 Mon Sep 17 00:00:00 2001 From: nerdopolis <rbos@rbos> Date: Thu, 30 Sep 2021 08:51:18 -0400 Subject: [PATCH] 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 b9218fadf3c09d83566549279d68886d8258f79c) --- hw/xfree86/common/xf86platformBus.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/common/xf86platformBus.c b/hw/xfree86/common/xf86platformBus.c index 0e0a995ac..45028f7a6 100644 --- a/hw/xfree86/common/xf86platformBus.c +++ b/hw/xfree86/common/xf86platformBus.c @@ -557,8 +557,13 @@ xf86platformProbeDev(DriverPtr drvp) } else { /* for non-seat0 servers assume first device is the master */ - if (ServerIsNotSeat0()) + if (ServerIsNotSeat0()) { break; + } else { + /* Accept the device if the driver is simpledrm */ + if (strcmp(xf86_platform_devices[j].attribs->driver, "simpledrm") == 0) + break; + } if (xf86IsPrimaryPlatform(&xf86_platform_devices[j])) break; -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor