Hi guys,
I've been integrating HDMI and eDP on the imx8mp SECO D18 board (SOM).
Kernel 6.12
We use weston in our application.
I was able to successfully integrate both interfaces and they work separately well (used SECO overlays from their GIT repo).
As soon as I enable eDP in addition to HDMI, the screen output always goes to eDP, an external HDMI monitor remains black. As soon as I disable eDP, HDMI works.
I see both dri devices at /dev/dri and /sys/kernel/debug/dri ... but I have only 1 CRTC.
modetest on both devices gives me a perfect test pattern on both escreens!
I've tired all possible weston configurations (setting different output devices ets.), but nothing helps. Weston also "sees" only one output device.
I think the problem is depper either at the driver level and DevTree or in kernel (configuration).
We have a reference application running based on SECO's CleaOS (but older Kernel 5.1) with dual screen output.
My suspicion: In their Device Tree they use one node that accomodates lcdif :
display-subsystem {
compatible = "fsl,imx-display-subsystem";
ports = <&lcdif1_disp>,
<&lcdif2_disp>,
<&lcdif3_disp>;
};
If you look at
/sys/kernel/debug/dri# cat 1/name in CleaOS
they have one display device:
imx-drm dev=display-subsystem unique=display-subsystem
I think that's the difference!
I do the same in my DevTree, but somehow the driver behind (drivers/gpu/drm/imx/ipuv3/imx-drm-core.c) is not being called, some Kernel CONFIGs, for example ...PARALLEL_DISPLAY seems to be not available in our kernel.
Has anyone a similar issue with dual screen output?