]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: uapi: videodev2: Add V4L2_META_FMT_RK_ISP1_EXT_PARAMS
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>
Thu, 8 Aug 2024 20:40:55 +0000 (22:40 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 12 Aug 2024 10:36:32 +0000 (13:36 +0300)
commit1fc379f6241b331207c4573c4ff43526fe404301
treec689ca7b09193f5e32a9fbcc4c5049382fe815a6
parente9d05e9d5db155dcc708891611f1b6f977c3fa11
media: uapi: videodev2: Add V4L2_META_FMT_RK_ISP1_EXT_PARAMS

The rkisp1 driver stores ISP configuration parameters in the fixed
rkisp1_params_cfg structure. As the members of the structure are part of
the userspace API, the structure layout is immutable and cannot be
extended further. Introducing new parameters or modifying the existing
ones would change the buffer layout and cause breakages in existing
applications.

The allow for future extensions to the ISP parameters, introduce a new
extensible parameters format, with a new format 4CC. Document usage of
the new format in the rkisp1 admin guide.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Documentation/admin-guide/media/rkisp1.rst
Documentation/userspace-api/media/v4l/metafmt-rkisp1.rst
drivers/media/v4l2-core/v4l2-ioctl.c
include/uapi/linux/videodev2.h