hello:
I am debugging a sensor, there is a very strange phenomenon, help solve it.
Execute the following command to capture a raw image, it is fail.
v4l2-ctl --verbose --set-fmt-video=width=3840,height=2160,pixelformat=RG12 \
--set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 \
--stream-to=camera.raw -d /dev/video0
Execute cat /sys/kernel/debug/tracing/trace,Showing the following error
kworker/0:1-7970 [000] .... 332.213679: rtcpu_vinotify_event: tstamp:10732726828 tag:ATOMP_FS channel:0x00 frame:132 vi_tstamp:10732726338 data:0x00000000
kworker/0:1-7970 [000] .... 332.213682: rtcpu_vinotify_event: tstamp:10732750235 tag:CHANSEL_PXL_SOF channel:0x00 frame:132 vi_tstamp:10732749782 data:0x00000001
kworker/0:1-7970 [000] .... 332.213685: rtcpu_vinotify_event: tstamp:10732750853 tag:CHANSEL_FAULT channel:0x00 frame:132 vi_tstamp:10732750386 data:0x00000100
kworker/0:1-7970 [000] .... 332.213687: rtcpu_vinotify_event: tstamp:10732751797 tag:CHANSEL_LOAD_FRAMED channel:0x01 frame:132 vi_tstamp:10732751067 data:0x08000000
kworker/0:1-7970 [000] .... 332.213690: rtcpu_vinotify_event: tstamp:10732752069 tag:CHANSEL_FAULT_FE channel:0x01 frame:132 vi_tstamp:10732751068 data:0x00000001
kworker/0:1-7970 [000] .... 332.213692: rtcpu_vinotify_event: tstamp:10732752380 tag:ATOMP_FE channel:0x00 frame:132 vi_tstamp:10732751071 data:0x00000000
because of CHANSEL_FAULT data:0x00000100, I Can know the error of PIXEL_LONG_LINE
But both active_w and active_h are set correctly, it is the resolution of the sensor
Detailed dmesg and trace logs in the attachment