goldfish: framebuffer
PATCH 1/1 goldfish: framebuffer
From: Arve Hjønnevåg <[email protected]>
Framebuffer support for the Goldfish emulator. This takes the Google emulator and applies the x86 cleanups as well as moving the blank methods to the usual Linux place and dropping the Android early suspend logic (for now at least, that can be looked at as Android and upstream converge). Dropped various oddities like setting MTRRs on a virtual frame buffer emulation...
With the drivers so far you can now boot a Linux initrd and have fun.
---
drivers/video/Kconfig | 9 + drivers/video/Makefile | 1 drivers/video/goldfishfb.c | 316 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 326 insertions(+) create mode 100644 drivers/video/goldfishfb.c
drivers/video/Kconfig +9 -0
@@ -2183,6 +2183,15 @@ config FB_XILINX framebuffer. ML300 carries a 640*480 LCD display on the board, ML403 uses a standard DB15 VGA connector. +config FB_GOLDFISH + tristate "Goldfish Framebuffer" + depends on FB + select FB_CFB_FILLRECT + select FB_CFB_COPYAREA + select FB_CFB_IMAGEBLIT + ---help--- + Framebuffer driver for Goldfish Virtual Platform + config FB_COBALT tristate "Cobalt server LCD frame buffer support" depends on FB && (MIPS_COBALT || MIPS_SEAD3)
drivers/video/Makefile +1 -0
@@ -98,6 +98,7 @@ obj-$(CONFIG_FB_ATMEL) += atmel_lcdfb.o obj-$(CONFIG_FB_PVR2) += pvr2fb.o obj-$(CONFIG_FB_VOODOO1) += sstfb.o obj-$(CONFIG_FB_ARMCLCD) += amba-clcd.o +obj-$(CONFIG_FB_GOLDFISH) += goldfishfb.o obj-$(CONFIG_FB_68328) += 68328fb.o obj-$(CONFIG_FB_GBE) += gbefb.o obj-$(CONFIG_FB_CIRRUS) += cirrusfb.o
drivers/video/goldfishfb.c new file +316 -0
316 lines not on this page · raw message
Quoted 7 lines · On Fri, 25 Jan 2013 15:31:17 +0000 Alan Cox <[email protected]> wrote:
Framebuffer support for the Goldfish emulator. This takes the Google emulator and applies the x86 cleanups as well as moving the blank methods to the usual Linux place and dropping the Android early suspend logic (for now at least, that can be looked at as Android and upstream converge). Dropped various oddities like setting MTRRs on a virtual frame buffer emulation...
With the drivers so far you can now boot a Linux initrd and have fun.
That looks nice and clean. I'll grab it; hopefully for Florian to take off my hands when he returns.
Quoted 4 lines
Signed-off-by Mike A. Chan <[email protected]>Signed-off-by Arve Hj__nnev__g <[email protected]>[cleaned up to handle x86]Signed-off-by Sheng Yang <[email protected]>
Quoted 8 lines
Signed-off-by Yunhong Jiang <[email protected]>Signed-off-by Xiaohui Xin <[email protected]>Signed-off-by Jun Nakajima <[email protected]>Signed-off-by Bruce Beare <[email protected]>[ported to 3.4]Signed-off-by Tom Keel <[email protected]>[cleaned up for style and 3.7, moved blank methods]Signed-off-by Alan Cox <[email protected]>
hm, it's unclear whether the [] comments apply to the line above or to the line below. I converted it to my usual form. I hope I got it right!
Quoted 6 lines · On Sat, 26 Jan 2013 00:27:45 +0000 Alan Cox <[email protected]> wrote:
Quoted 3 lines
hm, it's unclear whether the [] comments apply to the line above or to the line below. I converted it to my usual form. I hope I got it right!
Below so you got them all one out 8)
o dwat.
Quoted 3 lines
hm, it's unclear whether the [] comments apply to the line above or to the line below. I converted it to my usual form. I hope I got it right!
Below so you got them all one out 8)
Alan