linux_dsm_epyc7002/drivers/media/platform/atmel
Eugen Hristev ad85a9bb3e media: atmel: atmel-isi: initialize the try_crop for the pads in try_fmt
When requesting format from sensor, some sensors call the
subdev_get_try_crop which for ISI was not properly initialized, and this
causes errors in determining proper image resolutions.
To accommodate for this, when trying a format (in try_fmt), first attempt
to obtain the framesize for this format from sensor.
In case this fails, use the maximum ISI width/height as try_crop, otherwise
provide the first size height/width from the sensor.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2019-12-16 10:17:49 +01:00
..
atmel-isc-base.c media: atmel: atmel-isc-base: initialize the try_crop for the pads in try_fmt 2019-12-16 10:16:25 +01:00
atmel-isc-regs.h media: atmel: atmel-isc: reworked white balance feature 2019-05-21 07:14:02 -04:00
atmel-isc.h media: atmel: atmel-isc: fix i386 build error 2019-06-24 15:00:40 -04:00
atmel-isi.c media: atmel: atmel-isi: initialize the try_crop for the pads in try_fmt 2019-12-16 10:17:49 +01:00
atmel-isi.h media: atmel: atmel-isi: add support for mono sensors, GRAY and Y16 2019-12-16 10:16:56 +01:00
atmel-sama5d2-isc.c media: Remove dev_err() usage after platform_get_irq() 2019-08-07 17:08:33 -03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile media: atmel: atmel-isc: split driver into driver base and isc 2019-06-21 16:36:11 -04:00