Orin 4lane software port number is?

我们的自定义板,接了三路camera gsml 解串器,都是4lane,分别是:
1,csi0,csi1 ,这个是 port-index = <0>; 已经调通了
2,csi4,csi5,这个port-index = <4>; 吗?目前不通,用 vlc log提示:
[ 71.903409] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=4, csi_port=4
[ 71.903723] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 71.903947] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 4 vc- 0

3,csi6,csi7,这个port-index = <6>; 吗?这个目前 开机 kernel log 提示:
tegra-camrtc-capture-vi tegra-capture-vi: Invalid NVCSI stream Id

orin 的代码中 stream Id 应该是小于6 (不含6)的;其代码如下:
#define MAX_NVCSI_STREAM_IDS U32_C(0x6

struct device *vi_csi_stream_to_nvhost_device(
struct platform_device *pdev,
uint32_t csi_stream_id)
{
struct tegra_capture_vi_data *info = platform_get_drvdata(pdev);
uint32_t vi_inst_id = 0;

    if (csi_stream_id >= MAX_NVCSI_STREAM_IDS) {
            dev_err(&pdev->dev, "Invalid NVCSI stream Id\n");
            return NULL;
    }

    vi_inst_id = info->vi_instance_table[csi_stream_id];
    return &info->vi_pdevices[vi_inst_id]->dev;

}

请问,这里的 以每一路 vi 的 port-index 应该怎么配置?
谢谢

hello 305248199,

please refer to developer guide for Port Index session.
please note that there’re only 6 VI streams, CSI-E/F and CSI-G/H are using single VI port. i.e. VI-4/5.

thk!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.