2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/drivers/media/platform/exynos4-is
Hans Verkuil df9ecb0cad [media] vb2: drop v4l2_format argument from queue_setup
The queue_setup callback has a void pointer that is just for V4L2
and is the pointer to the v4l2_format struct that was passed to
VIDIOC_CREATE_BUFS. The idea was that drivers would use the information
from that struct to buffers suitable for the requested format.

After the vb2 split series this pointer is now a void pointer,
which is ugly, and the reality is that all existing drivers will
effectively just look at the sizeimage field of v4l2_format.

To make this more generic the queue_setup callback is changed:
the void pointer is dropped, instead if the *num_planes argument
is 0, then use the current format size, if it is non-zero, then
it contains the number of requested planes and the sizes array
contains the requested sizes. If either is unsupported, then return
-EINVAL, otherwise use the requested size(s).

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-12-18 13:48:19 -02:00
..
common.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -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] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
fimc-core.c [media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2 2015-10-01 08:48:18 -03:00
fimc-core.h [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02: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 Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08: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 Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
fimc-is.h [media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2 2015-10-01 08:48:18 -03:00
fimc-isp-video.c [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -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] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
fimc-isp.h [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02: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] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
fimc-lite.h [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
fimc-m2m.c [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -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] exynos4_is: exynos4-fimc requires i2c 2015-05-13 16:06:28 -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] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
media-dev.h [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
mipi-csis.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
mipi-csis.h