linux/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 media: dvbdev: Fix memleak in dvb_register_device 2020-11-17 06:57:54 +01:00
dvb-frontends media: Replace HTTP links with HTTPS ones: SI2165 MEDIA DRIVER 2020-11-27 13:05:07 +01:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: ccs: Get static data version minor correctly 2021-01-07 15:47:51 +01:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
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 media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media updates for v5.11-rc1 2020-12-14 11:47:37 -08:00
tuners media: tuners: reduce stack usage in mxl5005s_reconfigure 2020-11-27 13:47:42 +01:00
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 media: Remove superfluous dependency for MEDIA_SUPPORT_FILTER 2020-11-27 12:19:25 +01:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00