From af1459136d989d355b0c8e3901f567f4beabdf52 Mon Sep 17 00:00:00 2001 From: Thomas Zimmermann Date: Sat, 14 Mar 2026 22:25:36 +0200 Subject: [PATCH] xf86: Accept devices with the kernel's vesadrm driver Add a workaround to accept devices of the kernel's vesadrm driver. Makes Xorg work on pre-configured displays with VESA and the DRM graphics stack. Review of the vesadrm driver happens at [1]. Signed-off-by: Thomas Zimmermann Link: https://patchwork.freedesktop.org/series/146477/ # 1 Part-of: --- hw/xfree86/common/xf86platformBus.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/xfree86/common/xf86platformBus.c b/hw/xfree86/common/xf86platformBus.c index 671feef63b..44e4a47af5 100644 --- a/hw/xfree86/common/xf86platformBus.c +++ b/hw/xfree86/common/xf86platformBus.c @@ -616,6 +616,9 @@ xf86platformProbeDev(DriverPtr drvp) /* Accept the device if the driver is simpledrm */ if (strcmp(xf86_platform_devices[j].attribs->driver, "simpledrm") == 0) break; + /* Accept the device if the driver is vesadrm */ + if (strcmp(xf86_platform_devices[j].attribs->driver, "vesadrm") == 0) + break; } if (xf86IsPrimaryPlatform(&xf86_platform_devices[j]))