drm pipe line fails to trigger drm bridge attach function for samsung-dsim.c in 6.6 kernel
Koteswara Nelakurthi
KNelakurthi at tensor.co.uk
Tue Mar 18 11:28:42 UTC 2025
Hi,
Requesting to please go through below mail that deals with MIPI DSI display panel bringup activity.
Jd9365da is a MIPI dsi panel connected to nxp based imx8mm core board directly without any bridge and it's connected through MIPI DSIM (SAMSUNG) (linux-6.6/drivers/gpu/drm/Bridge/Samsung-dsim.c) software interface.
Prepared Scarthgap yocto BSP images for imx8mm core based NXP board running with linux-6.6 kernel version and booted the board.
The below log in the boot sequence confirm panel is attached with dsim host controller.
{{
[ 2.568380] samsung-dsim 32e10000.dsi: [drm:samsung_dsim_host_attach] Attached display-8hd-a device // printed from samsung_dsim_host_attach() in drivers/gpu/drm/bridge/samsung-dsim.c
}}
But The issue I am facing currently is DRM pipeline is failing to trigger struct drm_bridge_funcs attach() definition i.e Samsung_dsim_attach() that in turn invokes drm_bridge_attach() and
it helps in triggering Jd9365da drm_panel specific prepare/enable functions subsequently.
I attached a debug log added to Samsung-dsim.c file along with a jd9365da panel file (with debug logs) and boot log for reference. I attached jd9365da dts file too for reference
I request to please go through attached files and boot logs and please provide input for further debugging.
I attached an arch/arm64/boot/dts/freescale/imx8mm.dtsi file (that contains mipi-dsi entries for Samsung-dsim.c) .
Kind Regards
nelakurthi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20250318/227ba342/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imx8mm.dtsi
Type: application/octet-stream
Size: 47573 bytes
Desc: imx8mm.dtsi
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20250318/227ba342/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imx8mm-jd9365da-mipi-dsi.dts
Type: application/octet-stream
Size: 2562 bytes
Desc: imx8mm-jd9365da-mipi-dsi.dts
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20250318/227ba342/attachment-0003.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: panel-jadard-jd9365da-h3.c
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20250318/227ba342/attachment-0002.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: samsung-dsim.c
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20250318/227ba342/attachment-0003.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: samsung-dsim-jd9365da-bootlog.txt
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20250318/227ba342/attachment-0001.txt>
More information about the dri-devel
mailing list