[libcamera-devel] [PATCH 1/3] include: linux: Add V4L2_CID_NOTIFY_GAINS control

Laurent Pinchart laurent.pinchart at ideasonboard.com
Fri Dec 24 04:18:33 CET 2021


Hi David,

Thank you for the patch.

On Thu, Dec 23, 2021 at 08:01:08AM +0000, David Plowman wrote:
> Add this control which is already present upstream.

We have a process to update the kernel headers. If possible, please use
utils/update-kernel-headers.sh. You will need to then pick changes
manually to avoid dropping the currently not upstream features. The git
log for the include/linux/ directory can show you examples.

> Signed-off-by: David Plowman <david.plowman at raspberrypi.com>
> ---
>  include/linux/v4l2-controls.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/v4l2-controls.h b/include/linux/v4l2-controls.h
> index 59a57418..9db06cb2 100644
> --- a/include/linux/v4l2-controls.h
> +++ b/include/linux/v4l2-controls.h
> @@ -1109,6 +1109,7 @@ enum v4l2_jpeg_chroma_subsampling {
>  #define V4L2_CID_TEST_PATTERN_BLUE		(V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 6)
>  #define V4L2_CID_TEST_PATTERN_GREENB		(V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 7)
>  #define V4L2_CID_UNIT_CELL_SIZE			(V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 8)
> +#define V4L2_CID_NOTIFY_GAINS			(V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 9)
>  
>  
>  /* Image processing controls */

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list