From: Quanyang Wang <[email protected]>

When booting an X11 graphic system, Xorg will load armsoc_drv.so
as X.Org Video Driver. In armsoc_drv.so, "xlnx" is the driver_name
of struct drmmode_interface, and it must match the name used in the
kernel driver. So change the drm_driver name to "xlnx" to maintain
compatibility, or else Xorg will boot failed and the error info as
below will be observed in /var/log/Xorg.0.log:

[     9.528] (II) No BusID or DriverName specified - opening /dev/dri/card0
[     9.528] (II) Got BusID fd4a0000.zynqmp-display
[     9.541] (II) Opened DRM
[     9.541] (II)    DeviceName is [/dev/dri/card0]
[     9.541] (II)    bus_id is [fd4a0000.zynqmp-display]
[     9.541] (II)    DriverName is [zynqmp-dpsub]
[     9.541] (II)    version is [1.0.0]
[     9.554] (II) UnloadModule: "armsoc"
[     9.554] (EE) Screen(s) found, but none have a usable configuration.
[     9.554] (EE)

Signed-off-by: Quanyang Wang <[email protected]>
---
 drivers/gpu/drm/xlnx/zynqmp_dpsub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xlnx/zynqmp_dpsub.c 
b/drivers/gpu/drm/xlnx/zynqmp_dpsub.c
index 8e69303aad3f..235e57e4a1cd 100644
--- a/drivers/gpu/drm/xlnx/zynqmp_dpsub.c
+++ b/drivers/gpu/drm/xlnx/zynqmp_dpsub.c
@@ -96,7 +96,7 @@ static struct drm_driver zynqmp_dpsub_drm_driver = {
 
        .fops                           = &zynqmp_dpsub_drm_fops,
 
-       .name                           = "zynqmp-dpsub",
+       .name                           = "xlnx",
        .desc                           = "Xilinx DisplayPort Subsystem Driver",
        .date                           = "20130509",
        .major                          = 1,
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9221): 
https://lists.yoctoproject.org/g/linux-yocto/message/9221
Mute This Topic: https://lists.yoctoproject.org/mt/78705448/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to