Hello NXP expert,
We are developing a product which need LCD and HDMI dual display. For the LCD display is 720x1280 portrait and HDMI display is 1280x720 landscape, our application use g2d to do the rotation and draw to fb directly.
But we encounter the problem that LCD and HDMI can't display simultaneously.
BSP version: L3.14.52_1.1.0
I use ipu_id 0 for lcd and and ipu_id1 for hdmi
lcd@0 {
compatible = "fsl,lcd";
ipu_id = <0>;
disp_id = <0>;
default_ifmt = "RGB565";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ipu1>;
status = "okay";
};
&hdmi_core {
ipu_id = <1>;
disp_id = <0>;
status = "okay";
};
My boot parameter is 'video=mxcfb0:dev=lcd,SSD2828@60,bpp=32,if=RGB24 video=mxcfb1:dev=hdmi,1920x1080M@60,bpp=32,if=RGB24'
I can see fb0 fb1fb2 and fb3
root@imx6qdlsolo:~# cat /sys/class/graphics/fb0/name
DISP3 BG
root@imx6qdlsolo:~# cat /sys/class/graphics/fb1/name
DISP3 FG
root@imx6qdlsolo:~# cat /sys/class/graphics/fb2/name
DISP4 BG
root@imx6qdlsolo:~# cat /sys/class/graphics/fb3/name
DISP4 FG
When I boot the device, fb0 is on. But if I run "echo 0 > /sys/class/graphics/fb2/blank", hdmi display is on, but LCD display is off.
if I run
"echo 1 > /sys/class/graphics/fb2/blank"
"echo 0 > /sys/class/graphics/fb2/blank"
LCD display is on, but hdmi is off.
HDMI and LCD use different IPU, it is supposed they can output simultaneously. Can you help to check?
Thanks
G
解決済! 解決策の投稿を見る。
I just found the solution, IPU1 and IPU2 need use different parent clock source. The problem is solved.
hi
i had the same problem now.
i set the disp_id that is 1 and 2.
but hdmi is not work , hdmi can be light up,but it is display wrong.
please help me?
thank you
Hi usr g.s,
Thank you for your information, the dula display can work now,
but HDMI and LCD display different content, is it normal?
BRs,
Nick
I also encounter the same dual dispaly issue,
Could you share your solution about clock source?
Thank you.
add int_clk in boot parameter such as below
setenv displayinfo 'video=mxcfb0:dev=lcd,FORMIKE-WVGA@60,bpp=32,if=RGB24 video=mxcfb1:dev=hdmi,1920x1080M@60,bpp=32,if=RGB24,int_clk'
I just found the solution, IPU1 and IPU2 need use different parent clock source. The problem is solved.
Hi,
Good news you have solved your problem. If any questions you can create new thread in our community:smileyhappy:.
Have a nice day
Dan