summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/omap/Kconfig
diff options
context:
space:
mode:
authorarchit taneja <archit@ti.com>2011-06-14 03:54:47 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 17:56:06 -0300
commit445e258fa286cb83818b731ef4075a8cc183f2f3 (patch)
treecf76fc42c53bab44c76e012cc8635b01a1ab0017 /drivers/media/video/omap/Kconfig
parentb366888a9020f933bdab8f15f8d4a63e988ce6b3 (diff)
downloadop-kernel-dev-445e258fa286cb83818b731ef4075a8cc183f2f3.zip
op-kernel-dev-445e258fa286cb83818b731ef4075a8cc183f2f3.tar.gz
[media] OMAP_VOUT: Create separate file for VRFB related API's
Introduce omap_vout_vrfb.c and omap_vout_vrfb.h, for all VRFB related API's, making OMAP_VOUT driver independent from VRFB. This is required for OMAP4 DSS, since OMAP4 doesn't have VRFB block. Added new enum vout_rotation_type and "rotation_type" member to omapvideo_info, this is initialized based on the arch type in omap_vout_probe. The rotation_type var is now used to choose between vrfb and non-vrfb calls. Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/omap/Kconfig')
-rw-r--r--drivers/media/video/omap/Kconfig7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/media/video/omap/Kconfig b/drivers/media/video/omap/Kconfig
index e63233fd..390ab09 100644
--- a/drivers/media/video/omap/Kconfig
+++ b/drivers/media/video/omap/Kconfig
@@ -1,11 +1,14 @@
+config VIDEO_OMAP2_VOUT_VRFB
+ bool
+
config VIDEO_OMAP2_VOUT
tristate "OMAP2/OMAP3 V4L2-Display driver"
depends on ARCH_OMAP2 || ARCH_OMAP3
select VIDEOBUF_GEN
select VIDEOBUF_DMA_CONTIG
select OMAP2_DSS
- select OMAP2_VRAM
- select OMAP2_VRFB
+ select OMAP2_VRFB if ARCH_OMAP2 || ARCH_OMAP3
+ select VIDEO_OMAP2_VOUT_VRFB if VIDEO_OMAP2_VOUT && OMAP2_VRFB
default n
---help---
V4L2 Display driver support for OMAP2/3 based boards.
OpenPOWER on IntegriCloud