i.MX8QM dpu loopback to isi.

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

i.MX8QM dpu loopback to isi.

i.MX8QM dpu loopback to isi.

On imx8qm there are two DPUs(display process unit) and one ISI(image subsystem interface), ISI has 5 inputs and two of them are from DPU0 and DPU1.

 

This document demonstrates on how to loopback DPU1 outputs to ISI. Note that only mipi dsi0 of dpu0 and lvds1 of dpu1 can be loopbacked to isi.

 

Platform:                            imx8qm b0 mek

OS:                                    yocto 4.14.78 ga

hardware connection:        imx8qm lvds1 ====> it6263 cable =====> hdmi display.

 

1st:

isi has 8 pipelines which can be assigned to any of the 5 inputs, this doc takes the 5th pipeline to sink the dpu1 input. So you will need to configure the isi_4( start from 0) source in the dts and write a simple v4l2 subdev for capture testing, the default isi_4 device will be /dev/video4.

 

2st:

configure both framegen0 of dpu1 and lvds1's link to pixellink 3.

 

3st:

write a v4l2 userspace program to capture from /dev/video4 device, take this vulkan-capture as an example. Note that Vulkan-capture is rendered by vulkan api, you can also take opengl es for rendering.

 

See the atttachments for details.

 

========================================

2019/11/12 update patches.

========================================

2019/12/19 add patch.

Support connect real display to DC1-LVDS1

 

Note:

for ISI loopback,  it needs output of 2x GPIO (4x for HDMI-TX or combo PHY) to pixel_link_receiver_address:

For iMX8QM:
o LVDS: pixel_link_receiver_address[1:0] = do_gpio_dr[7:6] 
o MIPI-DSI: pixel_link_receiver_address[1:0] = do_gpio_dr[7:6]
o HDMI-TX: odd_pixel_link_receiver_address[1:0] = do_gpio_dr[7:6],even_pixel_link_receiver_address[1:0] = do_gpio_dr[5:4]

 

For iMX8QXP:
o Combo MIPI-DSI / LVDS: pixel_link0_receiver_address[1:0] = do_gpio_dr[7:6], pixel_link1_receiver_address[1:0] = do_gpio_dr[5:4] 

附件
评论

could we add this feature in our hard partition ecockpit demo to loop android display 2 to cluster camera, thanks.

How do the display and camera isolated in the hard partition ecockpit demo?

无评分
版本历史
最后更新:
‎04-27-2021 12:22 AM
更新人: