Skip to content

Commit

Permalink
video: mmp fb support
Browse files Browse the repository at this point in the history
Add fb support for Marvell mmp display subsystem.  This driver is
configured using "buffer driver mach info".  With configured name of path,
this driver get path using using exported interface of mmp display driver.
Then this driver get overlay using configured id and operates on this
overlay to show buffers on display devices.

Signed-off-by: Zhou Zhu <[email protected]>
Signed-off-by: Lisa Du <[email protected]>
Cc: Guoqing Li <[email protected]>
Acked-by: Haojian Zhuang <[email protected]>
Cc: Florian Tobias Schandinat <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Zhou Zhu authored and torvalds committed Feb 22, 2013
1 parent 59393bb commit d2e8bae
Show file tree
Hide file tree
Showing 6 changed files with 757 additions and 1 deletion.
4 changes: 4 additions & 0 deletions drivers/video/mmp/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ menuconfig MMP_DISP
depends on CPU_PXA910 || CPU_MMP2 || CPU_MMP3 || CPU_PXA988
help
Marvell Display Subsystem support.

if MMP_DISP
source "drivers/video/mmp/fb/Kconfig"
endif
2 changes: 1 addition & 1 deletion drivers/video/mmp/Makefile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
obj-y += core.o
obj-y += core.o fb/
13 changes: 13 additions & 0 deletions drivers/video/mmp/fb/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
if MMP_DISP

config MMP_FB
bool "fb driver for Marvell MMP Display Subsystem"
depends on FB
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT
default y
help
fb driver for Marvell MMP Display Subsystem

endif
1 change: 1 addition & 0 deletions drivers/video/mmp/fb/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_MMP_FB) += mmpfb.o
Loading

0 comments on commit d2e8bae

Please sign in to comment.