]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00273974-1 media: port mxc vout driver from 3.5.7 to 3.10
authorLiu Ying <Ying.Liu@freescale.com>
Mon, 5 Aug 2013 07:47:22 +0000 (15:47 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 13:53:14 +0000 (15:53 +0200)
commitdfb1877262feeced3903cb08d1d87d1db8db9832
tree7290013f7b78d54d192ce1b094b6078e24f975e6
parente28eea5536529d8494b8ec19f315ed8900140ae5
ENGR00273974-1 media: port mxc vout driver from 3.5.7 to 3.10

This is porting mxc vout driver from imx_3.5.7 kernel to
imx_3.10 kernel.

* Put the driver in drivers/media/platform/ directory instead
  of drivers/media/video/ directory, since the later one is
  renamed to the former one in 3.10 kernel.
* Change the ipu-v3.h header file from <mach/ipu-v3.h> to
  <linux/ipu-v3.h>.
* Change the mxc_vidioc_s_crop() function's implementation since
  the definition of the vidioc_s_crop() function is modified to
  make the last argument be constant.
* Set vfl_dir to be VFL_DIR_TX since the ioctrl validity checks
  are improved in 3.10 kernel.
* Remove 'defaut y' setting for VIDEO_MXC_OUTPUT and
  VIDEO_MXC_IPU_OUTPUT Kconfigs. They may be configured by kernel
  default configure or by user.
* Make VIDEO_MXC_OUTPUT Kconfig depend on FB_MXC Kconfig since
  we need framebuffers to be rendered.
* Make VIDEO_MXC_IPU_OUTPUT Kconfig be tristate.
* Split <linux/mxc_v4l2.h> header file up into include/linux/
  and include/uapi/linux/ directories so that the userspace may
  include the mxc_v4l2.h header file.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
drivers/media/platform/Kconfig
drivers/media/platform/Makefile
drivers/media/platform/mxc/output/Kconfig [new file with mode: 0644]
drivers/media/platform/mxc/output/Makefile [new file with mode: 0644]
drivers/media/platform/mxc/output/mxc_vout.c [new file with mode: 0644]
include/linux/mxc_v4l2.h [new file with mode: 0644]
include/uapi/linux/mxc_v4l2.h [new file with mode: 0644]