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
已解决! 转到解答。