Hello.
I used two HDMI devices in my project, now I want to configure weston to specify these two HDMI primary and secondary display devices, how do I need to configure?
ls /sys/class/drm
card0 card1 card1-DSI-1 card1-HDMI-A-1 renderD128 version
I tried configuring /etc/profile.d/weston.sh:
export WESTON_DRM_PRIMARY=HDMI-A-1
But it didn't work.
maybe you need change the dts file, I checked
display-subsystem {
compatible = "fsl,imx-display-subsystem";
ports = <&lcdif1_disp>,
<&lcdif2_disp>,
<&lcdif3_disp>;
};
https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm64/boot/dts/freescale/imx8mp.dtsi