hi
I am currently developing drivers for IMX390 - MAX9295 - MAX9296 in version 09.01.00.07.
After developing the driver, when checking the framerate using the v4l2-ctl command, the result is as follows.
Can you figure out what the problem is?
root@am62axx-evm:/opt/edgeai-gst-apps# media-ctl -p
Media controller API version 6.1.46
Media device information
driver j721e-csi2rx
model TI-CSI2RX
serial
bus info platform:30102000.ticsi2rx
hw revision 0x1
driver version 6.1.46
Device topology
-
entity 1: 30102000.ticsi2rx (7 pads, 7 links, 1 route)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
routes:
0/0 -> 2/0 [ACTIVE]
pad0: Sink
[stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
<- "cdns_csi2rx.30101000.csi-bridge":1 [ENABLED,IMMUTABLE]
pad1: Source
-> "30102000.ticsi2rx context 0":0 [ENABLED,IMMUTABLE]
pad2: Source
[stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
-> "30102000.ticsi2rx context 1":0 [ENABLED,IMMUTABLE]
pad3: Source
-> "30102000.ticsi2rx context 2":0 [ENABLED,IMMUTABLE]
pad4: Source
-> "30102000.ticsi2rx context 3":0 [ENABLED,IMMUTABLE]
pad5: Source
-> "30102000.ticsi2rx context 4":0 [ENABLED,IMMUTABLE]
pad6: Source
-> "30102000.ticsi2rx context 5":0 [ENABLED,IMMUTABLE] -
entity 9: cdns_csi2rx.30101000.csi-bridge (5 pads, 2 links, 1 route)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev1
routes:
0/0 -> 1/0 [ACTIVE]
pad0: Sink
[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
<- "max9296 4-0048":4 [ENABLED,IMMUTABLE]
pad1: Source
[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
-> "30102000.ticsi2rx":0 [ENABLED,IMMUTABLE]
pad2: Source
pad3: Source
pad4: Source -
entity 15: max9296 4-0048 (6 pads, 2 links, 1 route)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev2
routes:
0/0 -> 4/0 [ACTIVE]
pad0: Sink
[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
<- "max9295 4-0040":1 [ENABLED,IMMUTABLE]
pad1: Sink
pad2: Sink
pad3: Sink
pad4: Source
[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
-> "cdns_csi2rx.30101000.csi-bridge":0 [ENABLED,IMMUTABLE]
pad5: Source -
entity 24: max9295 4-0040 (2 pads, 2 links, 1 route)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev3
routes:
0/0 -> 1/0 [ACTIVE]
pad0: Sink
[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
<- "imx390 6-0021":0 [ENABLED,IMMUTABLE]
pad1: Source
[stream:0 fmt:SRGGB12_1X12/1936x1100 field:none]
-> "max9296 4-0048":0 [ENABLED,IMMUTABLE] -
entity 29: imx390 6-0021 (1 pad, 1 link, 2 routes)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev4
routes:
0/0 -> 0/0 [ACTIVE]
0/0 -> 0/1 [INACTIVE]
pad0: Source
[stream:0 fmt:SRGGB12_1X12/1936x1100@1/30 field:none colorspace:srgb]
-> "max9295 4-0040":0 [ENABLED,IMMUTABLE] -
entity 35: 30102000.ticsi2rx context 0 (1 pad, 1 link, 0 route)
type Node subtype V4L flags 0
device node name /dev/video3
pad0: Sink
<- "30102000.ticsi2rx":1 [ENABLED,IMMUTABLE] -
entity 41: 30102000.ticsi2rx context 1 (1 pad, 1 link, 0 route)
type Node subtype V4L flags 0
device node name /dev/video4
pad0: Sink
<- "30102000.ticsi2rx":2 [ENABLED,IMMUTABLE] -
entity 47: 30102000.ticsi2rx context 2 (1 pad, 1 link, 0 route)
type Node subtype V4L flags 0
device node name /dev/video5
pad0: Sink
<- "30102000.ticsi2rx":3 [ENABLED,IMMUTABLE] -
entity 53: 30102000.ticsi2rx context 3 (1 pad, 1 link, 0 route)
type Node subtype V4L flags 0
device node name /dev/video6
pad0: Sink
<- "30102000.ticsi2rx":4 [ENABLED,IMMUTABLE] -
entity 59: 30102000.ticsi2rx context 4 (1 pad, 1 link, 0 route)
type Node subtype V4L flags 0
device node name /dev/video7
pad0: Sink
<- "30102000.ticsi2rx":5 [ENABLED,IMMUTABLE] -
entity 65: 30102000.ticsi2rx context 5 (1 pad, 1 link, 0 route)
type Node subtype V4L flags 0
device node name /dev/video8
pad0: Sink
<- "30102000.ticsi2rx":6 [ENABLED,IMMUTABLE]
root@am62axx-evm:/opt/edgeai-gst-apps# v4l2-ctl -d4 --set-fmt-video=width=1936,height=1096,pixelformat=RG12 --stream-mmap
[ 508.498254] max9296 4-0048: max9296_get_vc_maps: VC map for port 0 is 0x00
[ 508.505315] max9296 4-0048: Mapping sink 0/0 to output VC 0, type 2,44
[ 508.512393] max9296 4-0048: enable streaming (0)
[ 508.517137] max9296 4-0048: Prepare for streaming
[ 508.521876] max9296 4-0048: max9296_get_vc_maps: VC map for port 0 is 0x00
[ 508.528785] max9296 4-0048: enable tx port 0
[ 508.533530] max9296 4-0048: enable rx port 0
[ 508.537815] max9296 4-0048: enable RX port 0 streams 0x1
[ 508.543143] max9295 4-0040: enable streaming
<<<<< 0.31 fps
< 0.31 fps
< 0.31 fps