]> git.baikalelectronics.ru Git - kernel.git/commit
media: rkisp1: isp: Add the enum_frame_size ioctl
authorSebastian Fricke <sebastian.fricke.linux@gmail.com>
Sat, 12 Dec 2020 18:53:06 +0000 (19:53 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 Jan 2021 17:16:41 +0000 (18:16 +0100)
commit1341cdbd69dc3a17ce9c92f035a169b3bd10e898
tree633841417c45778e8b514f3445523a988801eb5e
parent32de7bac8a812c54e192912e8a7abe214be32579
media: rkisp1: isp: Add the enum_frame_size ioctl

Implement the VIDIOC_SUBDEV_ENUM_FRAME_SIZE ioctl for the isp entity,
check if the mbus code is valid for the given pad.
This call is not available for the parameter or metadata pads of the
RkISP1.

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
Acked-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Acked-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c