【IMX8MP】Weston How to set up two HDMI primary and secondary display devices

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

【IMX8MP】Weston How to set up two HDMI primary and secondary display devices

1,573 Views
LoopLou
Contributor I

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.

 

Labels (2)
0 Kudos
Reply
5 Replies

1,551 Views
joanxie
NXP TechSupport
NXP TechSupport

current bsp supports dual display already, they are extend mode, for the second display, you need insert mouse and click the second display to enable it

0 Kudos
Reply

1,537 Views
LoopLou
Contributor I
actually I can already display the weston interface on 2 HDMI, yes they are extended mode, what I want to solve is how to set the HDMI-A-1 screen to be the main monitor.
thank you.
0 Kudos
Reply

1,505 Views
joanxie
NXP TechSupport
NXP TechSupport

what bsp version do you use? did you use HDMI+mipi dsi, right?

0 Kudos
Reply

1,496 Views
LoopLou
Contributor I
Yes, that's right. and I used BSP 5.15.71 2.2.0 Release.
0 Kudos
Reply

1,352 Views
joanxie
NXP TechSupport
NXP TechSupport

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

 

0 Kudos
Reply