Missing g_parm and s_parm Callbacks in Jetpack 5.1.3 Kernel

Hello,
I am currently working with Jetpack 5.1.3 and have encountered an issue related to the Video4Linux2 (V4L2) sub-device callbacks.

In Jetpack 4.6.2, specifically in the file located at /Linux_for_Tegra/source/public/kernel/kernel-5.10/include/media/subdev.h, I found the g_parm and s_parm callbacks defined within the struct v4l2_subdev_video_ops. These callbacks are used for handling %VIDIOC_G_PARM and %VIDIOC_S_PARM ioctl operations, respectively.

However, after upgrading to Jetpack 5.1.3, I noticed that these callback functions are missing from the updated kernel source. This change is impacting our ability to handle video streaming parameters as we did previously.

  • Are g_parm and s_parm callbacks still supported in Jetpack 5.1.3?** If so, could you provide guidance on where to find these definitions or the updated mechanisms for handling video parameters in the new version?
  • If these callbacks have been removed or replaced,** what is the recommended approach for managing video stream parameters in Jetpack 5.1.3?

Any insights or recommendations would be greatly appreciated as they will help us adapt our codebase to the new version of Jetpack.

Thank you!

Best regards,
Anandhu

Suppose it move to …/kernel/kernel-5.10/include/media/v4l2-subdev.h

I checked there as well, but it is not present.

Could you please clarify the following
1.Are the g_parm and s_parm callbacks still supported in Jetpack 5.1.3?If so, could you provide guidance on where to find these definitions or the updated mechanisms for handling video parameters in the new version?
2.If these callbacks have been removed or replaced, what is the recommended approach for managing video stream parameters in Jetpack 5.1.3?

Suppose K5.10 remove it. You may check the v4l2_subdev_video_ops in K5.10 to implement your use case.

Thanks

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