Re: [PATCH v10 0/3] media: qcom: camss: Add camss TPG support for multiple targets

From: Wenmeng Liu

Date: Wed Apr 01 2026 - 05:10:59 EST




On 4/1/2026 5:02 PM, Bryan O'Donoghue wrote:
On 17/03/2026 10:05, Wenmeng Liu wrote:
Tested with following commands:
- media-ctl --reset
- media-ctl -V '"msm_tpg0":0[fmt:SRGGB10/4608x2592 field:none]'
- media-ctl -V '"msm_csid0":0[fmt:SRGGB10/4608x2592 field:none]'
- media-ctl -V '"msm_vfe0_rdi0":0[fmt:SRGGB10/4608x2592 field:none]'
- media-ctl -l '"msm_tpg0":1->"msm_csid0":0[1]'
- media-ctl -l '"msm_csid0":1->"msm_vfe0_rdi0":0[1]'
- v4l2-ctl -d /dev/v4l-subdev1 -c test_pattern=9
- yavta -B capture-mplane -n 5 -f SRGGB10P -s 4608x2592 /dev/video2
   --capture=7

I get this on Hamoa.

media-ctl --reset

media-ctl -V '"msm_tpg0":0[fmt:SRGGB10/4608x2592 field:none]'
media-ctl -V '"msm_csid0":0[fmt:SRGGB10/4608x2592 field:none]'
media-ctl -V '"msm_vfe0_rdi0":0[fmt:SRGGB10/4608x2592 field:none]'
media-ctl -l '"msm_tpg0":1->"msm_csid0":0[1]'
Unable to parse link: Invalid argument (22)

Failing to connect the TPG to the CSID.

Please resolve.

---
bod

Hi Bryan,

This is a typo,msm_tpg only have 0 pad.

please try media-ctl -l '"msm_tpg0":0->"msm_csid0":0[1]'


Thanks,
Wenmeng