mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 05:46:50 +07:00
OMAP: add TI OMAP framebuffer driver
- Add Texas Instruments OMAP framebuffer driver. This driver is being used for various OMAP1/2 series based boards and products e.g Nokia N800 Internet Tablet, H4, H3, Siemens SX1 etc. - LCD panel registration and controller code is separated in different file and interfaces. Signed-off-by: Trilok Soni <soni.trilok@gmail.com> Cc: Tony Lindgren <tony@atomide.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
57a3db98ac
commit
8b08cf2b64
@ -1820,6 +1820,10 @@ config FB_XILINX
|
||||
framebuffer. ML300 carries a 640*480 LCD display on the board,
|
||||
ML403 uses a standard DB15 VGA connector.
|
||||
|
||||
if ARCH_OMAP
|
||||
source "drivers/video/omap/Kconfig"
|
||||
endif
|
||||
|
||||
config FB_VIRTUAL
|
||||
tristate "Virtual Frame Buffer support (ONLY FOR TESTING!)"
|
||||
depends on FB
|
||||
|
@ -113,6 +113,7 @@ obj-$(CONFIG_FB_IBM_GXT4500) += gxt4500.o
|
||||
obj-$(CONFIG_FB_PS3) += ps3fb.o
|
||||
obj-$(CONFIG_FB_SM501) += sm501fb.o
|
||||
obj-$(CONFIG_FB_XILINX) += xilinxfb.o
|
||||
obj-$(CONFIG_FB_OMAP) += omap/
|
||||
|
||||
# Platform or fallback drivers go here
|
||||
obj-$(CONFIG_FB_VESA) += vesafb.o
|
||||
|
38
drivers/video/omap/Kconfig
Normal file
38
drivers/video/omap/Kconfig
Normal file
@ -0,0 +1,38 @@
|
||||
config FB_OMAP
|
||||
tristate "OMAP frame buffer support (EXPERIMENTAL)"
|
||||
depends on FB
|
||||
select FB_CFB_FILLRECT
|
||||
select FB_CFB_COPYAREA
|
||||
select FB_CFB_IMAGEBLIT
|
||||
help
|
||||
Frame buffer driver for OMAP based boards.
|
||||
|
||||
config FB_OMAP_BOOTLOADER_INIT
|
||||
bool "Check bootloader initializaion"
|
||||
depends on FB_OMAP
|
||||
help
|
||||
Say Y here if you want to enable checking if the bootloader has
|
||||
already initialized the display controller. In this case the
|
||||
driver will skip the initialization.
|
||||
|
||||
config FB_OMAP_CONSISTENT_DMA_SIZE
|
||||
int "Consistent DMA memory size (MB)"
|
||||
depends on FB_OMAP
|
||||
range 1 14
|
||||
default 2
|
||||
help
|
||||
Increase the DMA consistent memory size according to your video
|
||||
memory needs, for example if you want to use multiple planes.
|
||||
The size must be 2MB aligned.
|
||||
If unsure say 1.
|
||||
|
||||
config FB_OMAP_DMA_TUNE
|
||||
bool "Set DMA SDRAM access priority high"
|
||||
depends on FB_OMAP && ARCH_OMAP1
|
||||
help
|
||||
On systems in which video memory is in system memory
|
||||
(SDRAM) this will speed up graphics DMA operations.
|
||||
If you have such a system and want to use rotation
|
||||
answer yes. Answer no if you have a dedicated video
|
||||
memory, or don't use any of the accelerated features.
|
||||
|
10
drivers/video/omap/Makefile
Normal file
10
drivers/video/omap/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
# Makefile for the new OMAP framebuffer device driver
|
||||
#
|
||||
|
||||
obj-$(CONFIG_FB_OMAP) += omapfb.o
|
||||
|
||||
objs-yy := omapfb_main.o
|
||||
|
||||
omapfb-objs := $(objs-yy)
|
||||
|
1941
drivers/video/omap/omapfb_main.c
Normal file
1941
drivers/video/omap/omapfb_main.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user