linux-stable/drivers/media
Heiko Stuebner ef357e02b6 media: rockchip: rkisp1: extend uapi array sizes
Later variants of the rkisp1 block use more entries in some arrays:

RKISP1_CIF_ISP_AE_MEAN_MAX                 25 -> 81
RKISP1_CIF_ISP_HIST_BIN_N_MAX              16 -> 32
RKISP1_CIF_ISP_GAMMA_OUT_MAX_SAMPLES       17 -> 34
RKISP1_CIF_ISP_HISTOGRAM_WEIGHT_GRIDS_SIZE 25 -> 81

and we can still extend the uapi during the 5.11-rc cycle, so do that
now to be on the safe side.

V10 and V11 only need the smaller sizes, while V12 and V13 needed
the larger sizes.

When adding the bigger sizes make sure, values filled from hardware
values and transmitted to userspace don't leak kernel data by zeroing
them beforehand.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel@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>
2021-01-28 11:31:43 +01:00
..
cec media: cec: add stm32 driver 2021-01-26 19:15:54 +01:00
common media: Revert "media: videobuf2: Fix length check for single plane dmabuf queueing" 2021-01-12 15:49:12 +01:00
dvb-core
dvb-frontends
firewire
i2c media: ccs: Get static data version minor correctly 2021-01-07 15:47:51 +01:00
mc
mmc
pci media: v4l: common: Fix naming of v4l2_get_link_rate 2021-01-07 15:47:52 +01:00
platform media: rockchip: rkisp1: extend uapi array sizes 2021-01-28 11:31:43 +01:00
radio media: si4713: remove trailing semicolon in macro definition 2020-12-03 08:54:13 +01:00
rc media: rc: ite-cir: fix min_timeout calculation 2021-01-12 12:47:15 +01:00
spi
test-drivers media updates for v5.11-rc1 2020-12-14 11:47:37 -08:00
tuners
usb media: gspca: Fix memory leak in probe 2020-12-07 15:00:15 +01:00
v4l2-core media: v4l: common: Fix naming of v4l2_get_link_rate 2021-01-07 15:47:52 +01:00
Kconfig
Makefile