]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: rkisp1: Implement s_fmt/try_fmt
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>
Thu, 8 Aug 2024 20:41:00 +0000 (22:41 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 14 Aug 2024 13:42:56 +0000 (16:42 +0300)
commitf848c0312e392d90556cbffa3b0632780c147f46
treebfb2228a6a2c179296a4cdad135883bcb878cfa3
parent6c53a7b68c5d2a1dd4e8df52f01d75072ebc13bc
media: rkisp1: Implement s_fmt/try_fmt

Implement in the rkisp1 driver support for the s_fmt and try_fmt
operation to allow userspace to select between the extensible
and the fixed parameters formats.

Implement enum_mbus_code to enumerate the fixed and the extensible
formats and disallow changing the data format while the queue is busy.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@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>
drivers/media/platform/rockchip/rkisp1/rkisp1-params.c