linux_dsm_epyc7002/drivers/media/platform/exynos4-is
Hans Verkuil eaec420f53 [media] v4l2-ioctl/exynos: fix G/S_SELECTION's type handling
The type field in struct v4l2_selection is supposed to never use the
_MPLANE variants. E.g. if the driver supports V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,
then userspace should still pass V4L2_BUF_TYPE_VIDEO_CAPTURE.

The reasons for this are lost in the mists of time, but it is really
annoying. In addition, the exynos drivers didn't follow this rule and
instead expected the _MPLANE type.

To fix that code is added to the v4l2 core that maps the _MPLANE buffer
types to their regular equivalents before calling the driver.

Effectively this allows for userspace to use either _MPLANE or the regular
buffer type. This keeps backwards compatibility while making things easier
for userspace.

Since drivers now never see the _MPLANE buffer types the exynos drivers
had to be adapted as well.

Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-06-23 09:20:42 -03:00
..
common.c [media] media: use macros to check for V4L2 subdev entities 2016-01-11 12:18:50 -02:00
common.h [media] exynos4-is: Move __fimc_videoc_querycap() function to the common module 2013-06-12 22:05:41 -03:00
fimc-capture.c [media] v4l2-ioctl/exynos: fix G/S_SELECTION's type handling 2017-06-23 09:20:42 -03:00
fimc-core.c [media] exynos4-is: fimc: Roundup imagesize to row size for tiled formats 2016-11-16 16:24:53 -02:00
fimc-core.h scripts/spelling.txt: add "aligment" pattern and fix typo instances 2017-02-27 18:43:46 -08:00
fimc-is-command.h [media] exynos4-is: Add Exynos4x12 FIMC-IS driver 2013-04-04 19:59:24 -03:00
fimc-is-errno.c [media] fimc-is-param: get rid of warnings 2014-08-26 18:52:12 -03:00
fimc-is-errno.h [media] fimc-is-param: get rid of warnings 2014-08-26 18:52:12 -03:00
fimc-is-i2c.c [media] media: exynos4-is: add flags to dummy Exynos IS i2c adapter 2017-02-08 10:33:06 -02:00
fimc-is-i2c.h [media] exynos4-is: Add FIMC-IS ISP I2C bus driver 2013-04-04 20:04:49 -03:00
fimc-is-param.c [media] fimc-is-param: get rid of warnings 2014-08-26 18:52:12 -03:00
fimc-is-param.h [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-is-regs.c [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-is-regs.h [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-is-sensor.c [media] exynos4-is: Use external s5k6a3 sensor driver 2014-03-14 10:34:13 -03:00
fimc-is-sensor.h [media] exynos4-is: Use external s5k6a3 sensor driver 2014-03-14 10:34:13 -03:00
fimc-is.c [media] exynos4-is: use devm_of_platform_populate() 2017-06-13 14:19:54 -03:00
fimc-is.h [media] exynos4-is: Add support for all required clocks 2016-09-22 10:13:53 -03:00
fimc-isp-video.c [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02:00
fimc-isp-video.h [media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2 2015-10-01 08:48:18 -03:00
fimc-isp.c [media] exynos4-is: Add missing entity function initialization 2016-09-22 10:14:56 -03:00
fimc-isp.h [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:42:48 -03:00
fimc-lite-reg.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
fimc-lite-reg.h [media] exynos4-is: Add Exynos5250 SoC support to fimc-lite driver 2013-06-28 15:22:22 -03:00
fimc-lite.c [media] v4l2-ioctl/exynos: fix G/S_SELECTION's type handling 2017-06-23 09:20:42 -03:00
fimc-lite.h [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:42:48 -03:00
fimc-m2m.c [media] exynos4-is: Clean up file handle in open() error path 2017-01-31 09:58:42 -02:00
fimc-reg.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
fimc-reg.h [media] exynos4-is: Correct input DMA YUV order configuration 2013-04-04 20:23:53 -03:00
Kconfig [media] v4l: Switch from V4L2 OF not V4L2 fwnode API 2017-06-06 09:58:16 -03:00
Makefile [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
media-dev.c [media] v4l: Switch from V4L2 OF not V4L2 fwnode API 2017-06-06 09:58:16 -03:00
media-dev.h [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02:00
mipi-csis.c [media] v4l: Switch from V4L2 OF not V4L2 fwnode API 2017-06-06 09:58:16 -03:00
mipi-csis.h