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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,102 次查看
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.

 

标签 (2)
0 项奖励
回复
5 回复数

1,080 次查看
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 项奖励
回复

1,066 次查看
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 项奖励
回复

1,034 次查看
joanxie
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

1,025 次查看
LoopLou
Contributor I
Yes, that's right. and I used BSP 5.15.71 2.2.0 Release.
0 项奖励
回复

881 次查看
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 项奖励
回复