hi,
I have tested with tc358840 for xavier, but there is still without correct streaming.
jetpack4.2.3 r32.2.3
when I run v4l2-compliance, The following happened:
js@js-desktop:~$ v4l2-compliance
v4l2-compliance SHA : not available
Driver Info:
Driver name : tegra-video
Card type : vi-output, tc358840 2-000f
Bus info : platform:15c10000.vi:0
Driver version: 4.9.140
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Compliance test for device /dev/video0 (not using libv4l2):
Required ioctls:
test VIDIOC_QUERYCAP: OK
Allow for multiple opens:
test second video open: OK
test VIDIOC_QUERYCAP: OK
test VIDIOC_G/S_PRIORITY: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
test VIDIOC_LOG_STATUS: OK
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 1 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK
test VIDIOC_DV_TIMINGS_CAP: OK
test VIDIOC_G/S_EDID: OK
Test input 0:
Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
test VIDIOC_QUERYCTRL: OK
test VIDIOC_G/S_CTRL: OK
[b]
Unable to handle kernel NULL pointer dereference at virtual address 000001e0
[ 178.896421] Mem abort info:
[ 178.896489] ESR = 0x96000005
[ 178.896559] Exception class = DABT (current EL), IL = 32 bits
[ 178.896718] SET = 0, FnV = 0
[ 178.896787] EA = 0, S1PTW = 0
[ 178.896852] Data abort info:
[ 178.896914] ISV = 0, ISS = 0x00000005
[ 178.896993] CM = 0, WnR = 0
[ 178.897066] user pgtable: 4k pages, 39-bit VAs, pgd = ffffffc38ed30000
[ 178.897224] [00000000000001e0] *pgd=0000000000000000, *pud=0000000000000000
[ 178.897415] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[ 178.897527] Modules linked in: fuse zram overlay nvgpu bluedroid_pm ip_tables x_tables
[ 178.897796] CPU: 0 PID: 7238 Comm: v4l2-compliance Not tainted 4.9.140 #31
[ 178.897918] Hardware name: Jetson-AGX (DT)
[ 178.898010] task: ffffffc388dbe200 task.stack: ffffffc39105c000
[ 178.898393] PC is at tegra_vi5_g_volatile_ctrl+0x48/0x120
[ 178.898792] LR is at tegra_vi5_g_volatile_ctrl+0x2c/0x120
[ 178.899222] pc : [] lr : [] pstate: 40400145
[ 178.904213] sp : ffffffc39105fac0
[ 178.907455] x29: ffffffc39105fac0 x28: ffffffc3d7b82c00
[ 178.913239] x27: 000000000f000000 x26: 0000000000000000
[ 178.919079] x25: ffffff8009f9fd20 x24: 0000000000000047
[ 178.924679] x23: 0000000000000001 x22: 0000000000000018
[ 178.929951] x21: ffffffc39105fb60 x20: ffffffc3ec229420
[ 178.935354] x19: ffffffc3d7b82c00 x18: 0000000000000001
[ 178.941131] x17: 0000007fa31c7b10 x16: ffffff80082739b0
[ 178.946406] x15: ffffffffffffffff x14: ffffffc39105fac0
[ 178.952329] x13: ffffffc39105f9c5 x12: 0000000000000000
[ 178.957794] x11: ffffffc39105f980 x10: ffffffc39105f980
[ 178.963466] x9 : 0000000000000002 x8 : 0000000000000002
[ 178.969236] x7 : ffffff8008fb6d88 x6 : 0000000000000090
[ 178.974993] x5 : 000000000000008d x4 : 0000000000000001
[ 178.980329] x3 : 00000000009a2033 x2 : 0000000000000000
[ 178.985666] x1 : ffffffc388dbe200 x0 : 00000000009a2032
[ 178.992159] Process v4l2-compliance (pid: 7238, stack limit = 0xffffffc39105c000)
[ 178.999411] Call trace:
[ 179.001703] [] tegra_vi5_g_volatile_ctrl+0x48/0x120
[ 179.007846] [] v4l2_g_ext_ctrls+0x22c/0x2f0
[ 179.013413] [] v4l_g_ext_ctrls+0xa0/0xd8
[ 179.018229] [] __video_do_ioctl+0x204/0x2c8
[ 179.023826] [] video_usercopy+0x2a0/0x6a0
[ 179.029165] [] video_ioctl2+0x3c/0x50
[ 179.033740] [] v4l2_ioctl+0x88/0x118
[ 179.038538] [] do_vfs_ioctl+0xb0/0x8d8
[ 179.043859] [] SyS_ioctl+0x8c/0xa8
[ 179.048417] [] el0_svc_naked+0x34/0x38
[ 179.053503] —[ end trace 6faf8fbdf52a7b49 ]—
[/b]