From: Ashish Kumar Vishwakarma <[email protected]>

Updating DP driver name

(rel-v2025.2 rev: ce6f9445dfc1fdd97d61a8743a5cc28418a81bbd)

Signed-off-by: Ashish Kumar Vishwakarma <[email protected]>
Signed-off-by: Mark Hatle <[email protected]>
[lsong: Add Upstream-Status for drm driver patch]
Signed-off-by: Liwei Song <[email protected]>
---
 ...armsoc-Update-xilinx-drm-driver-name.patch | 32 +++++++++++++++++++
 .../xorg-driver/xf86-video-armsoc_%.bbappend  |  1 +
 2 files changed, 33 insertions(+)
 create mode 100644 
meta-xilinx-core/dynamic-layers/openembedded-layer/recipes-graphics/xorg-driver/xf86-video-armsoc/0001-xf86-video-armsoc-Update-xilinx-drm-driver-name.patch

diff --git 
a/meta-xilinx-core/dynamic-layers/openembedded-layer/recipes-graphics/xorg-driver/xf86-video-armsoc/0001-xf86-video-armsoc-Update-xilinx-drm-driver-name.patch
 
b/meta-xilinx-core/dynamic-layers/openembedded-layer/recipes-graphics/xorg-driver/xf86-video-armsoc/0001-xf86-video-armsoc-Update-xilinx-drm-driver-name.patch
new file mode 100644
index 000000000000..2ee9d7ea125c
--- /dev/null
+++ 
b/meta-xilinx-core/dynamic-layers/openembedded-layer/recipes-graphics/xorg-driver/xf86-video-armsoc/0001-xf86-video-armsoc-Update-xilinx-drm-driver-name.patch
@@ -0,0 +1,32 @@
+From e8c26e0e79e4987716c321dcaf0b20c089388418 Mon Sep 17 00:00:00 2001
+From: Ashish Kumar Vishwakarma <[email protected]>
+Date: Fri, 21 Mar 2025 11:56:20 +0000
+Subject: [PATCH] xf86-video-armsoc: Update xilinx drm driver name
+
+The DP driver name has been changed from xlnx to zynqmp-dpsub.
+Updating the driver name resolving display issues.
+
+Upstream-Status: Inappropriate [Xilinx specific]
+
+Signed-off-by: Ashish Kumar Vishwakarma <[email protected]>
+Signed-off-by: Liwei Song <[email protected]>
+---
+ src/drmmode_xilinx/drmmode_xilinx.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/drmmode_xilinx/drmmode_xilinx.c 
b/src/drmmode_xilinx/drmmode_xilinx.c
+index 0ed97ae..c6ed0be 100644
+--- a/src/drmmode_xilinx/drmmode_xilinx.c
++++ b/src/drmmode_xilinx/drmmode_xilinx.c
+@@ -62,7 +62,7 @@ static int create_custom_gem(int fd, struct 
armsoc_create_gem *create_gem)
+ }
+ 
+ struct drmmode_interface xilinx_interface = {
+-      "xlnx"                /* name of drm driver */,
++      "zynqmp-dpsub"        /* name of drm driver */,
+       1                     /* use_page_flip_events */,
+       1                     /* use_early_display */,
+       0                     /* cursor width */,
+-- 
+2.44.1
+
diff --git 
a/meta-xilinx-core/dynamic-layers/openembedded-layer/recipes-graphics/xorg-driver/xf86-video-armsoc_%.bbappend
 
b/meta-xilinx-core/dynamic-layers/openembedded-layer/recipes-graphics/xorg-driver/xf86-video-armsoc_%.bbappend
index 9f8af267a734..e0f62ac41838 100644
--- 
a/meta-xilinx-core/dynamic-layers/openembedded-layer/recipes-graphics/xorg-driver/xf86-video-armsoc_%.bbappend
+++ 
b/meta-xilinx-core/dynamic-layers/openembedded-layer/recipes-graphics/xorg-driver/xf86-video-armsoc_%.bbappend
@@ -3,6 +3,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/xf86-video-armsoc:"
 SRC_URI:append = " 
file://0001-src-drmmode_xilinx-Add-the-dumb-gem-support-for-Xili.patch \
                    
file://0001-armsoc_driver.c-Bypass-the-exa-layer-to-free-the-roo.patch \
                    file://0001-xf86-video-armsoc-Add-shadow-buffer-hooks.patch 
\
+                   
file://0001-xf86-video-armsoc-Update-xilinx-drm-driver-name.patch \
                  "
 EXTRA_MALI400_SRC = " 
file://0001-xf86-video-armosc-Accelerate-picture-composition.patch \
                       
file://0001-xf86-video-armosc-Option-to-control-acceleration.patch \
-- 
2.40.0

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

Reply via email to