Skip to content

Commit

Permalink
[media] OMAP_VOUT: Create separate file for VRFB related API's
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
archit taneja authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent b366888 commit 445e258
Show file tree
Hide file tree
Showing 6 changed files with 537 additions and 372 deletions.
7 changes: 5 additions & 2 deletions drivers/media/video/omap/Kconfig
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions drivers/media/video/omap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@

# OMAP2/3 Display driver
omap-vout-y := omap_vout.o omap_voutlib.o
omap-vout-$(CONFIG_VIDEO_OMAP2_VOUT_VRFB) += omap_vout_vrfb.o
obj-$(CONFIG_VIDEO_OMAP2_VOUT) += omap-vout.o
Loading

0 comments on commit 445e258

Please sign in to comment.