Skip to contentSkip to conversation

fbdev: Framebuffer driver for Geode GX

PATCH RESEND New Antonino A. Daplas 1 participant 1 message Feb 8, 2006 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 fbdev: Framebuffer driver for Geode GX

From: David Vrabel <[email protected]>

A framebuffer driver for the display controller in AMD Geode GX processors (Geode GX533, Geode GX500 etc.). Tested at 640x480, 800x600, 1024x768 and 1280x1024 at 8, 16, and 24 bpp with both CRT and TFT. No accelerated features currently implemented and compression remains disabled.

This driver requires that the BIOS (or the SoftVG/Firmbase code in the BIOS) has created an appropriate virtual PCI header.

---

Andrew,

Ignore the previous patch, I forgot to include the core files for this driver

 drivers/video/geode/Kconfig      |   15 +
 drivers/video/geode/Makefile     |    4 
 drivers/video/geode/display_gx.c |  156 ++++++++++++++
 drivers/video/geode/display_gx.h |   96 +++++++++
 drivers/video/geode/gxfb_core.c  |  423 ++++++++++++++++++++++++++++++++++++++
 drivers/video/geode/video_gx.c   |  217 +++++++++++++++++++
 drivers/video/geode/video_gx.h   |   47 ++++
 7 files changed, 957 insertions(+), 1 deletions(-)
drivers/video/geode/Kconfig +15 -0
index 42fb9a8..690844c 100644
@@ -8,6 +8,21 @@ config FB_GEODE
 	  Say 'Y' here to allow you to select framebuffer drivers for
 	  the AMD Geode family of processors.
 
+config FB_GEODE_GX
+	tristate "AMD Geode GX framebuffer support (EXPERIMENTAL)"
+	depends on FB_GEODE && EXPERIMENTAL
+	select FB_CFB_FILLRECT
+	select FB_CFB_COPYAREA
+	select FB_CFB_IMAGEBLIT
+	---help---
+	  Framebuffer driver for the display controller integrated into the
+	  AMD Geode GX processors.
+
+	  To compile this driver as a module, choose M here: the module will be
+	  called gxfb.
+
+	  If unsure, say N.
+
 config FB_GEODE_GX1
 	tristate "AMD Geode GX1 framebuffer support (EXPERIMENTAL)"
 	depends on FB_GEODE && EXPERIMENTAL
drivers/video/geode/Makefile +3 -1
index 13ad501..f896565 100644
@@ -1,5 +1,7 @@
 # Makefile for the Geode family framebuffer drivers
 
 obj-$(CONFIG_FB_GEODE_GX1) += gx1fb.o
+obj-$(CONFIG_FB_GEODE_GX)  += gxfb.o
 
-gx1fb-objs   		:= gx1fb_core.o display_gx1.o video_cs5530.o
+gx1fb-objs := gx1fb_core.o display_gx1.o video_cs5530.o
+gxfb-objs  := gxfb_core.o display_gx.o video_gx.o
drivers/video/geode/display_gx.c new file +156 -0

156 lines not on this page · raw message

drivers/video/geode/display_gx.h new file +96 -0

96 lines not on this page · raw message

drivers/video/geode/gxfb_core.c new file +423 -0

423 lines not on this page · raw message

drivers/video/geode/video_gx.c new file +217 -0

217 lines not on this page · raw message

drivers/video/geode/video_gx.h new file +47 -0

47 lines not on this page · raw message

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642