Skip to contentSkip to conversation

Geode: LX framebuffer support

PATCH Jordan Crouse 1 participant 1 message Jun 19, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

Based on strong urging from the Geode Linux list, I am happy to present support for the AMD Geode LX framebuffer. This is based on the working patch being used as part of the One Laptop Per Child project (see the GIT tree here: http://dev.laptop.org/git?p=olpc-2.6;a=summary), I just removed the OLPC specific bits as well as the power management code which still needs to marinate a bit in the OLPC tree.

There is still some stuff to be done here - this isn't entirely complete by any means, but its a great start and should be generally solid for most uses.

Thanks,
Jordan

Signature · 4 lines
Jordan Crouse
Senior Linux Engineer
Advanced Micro Devices, Inc.
<www.amd.com/embeddedprocessors>

GEODE: Add framebuffer support for the AMD Geode LX

From: Jordan Crouse <[email protected]>

Add framebuffer support for the AMD Geode LX graphics engine.

---

 drivers/video/geode/Kconfig     |   15 +
 drivers/video/geode/Makefile    |    2 
 drivers/video/geode/lxfb.h      |  199 ++++++++++++
 drivers/video/geode/lxfb_core.c |  621 +++++++++++++++++++++++++++++++++++++++
 drivers/video/geode/lxfb_ops.c  |  536 ++++++++++++++++++++++++++++++++++
 5 files changed, 1373 insertions(+), 0 deletions(-)
drivers/video/geode/Kconfig +15 -0
index a814b6c..c45181e 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_LX
+	tristate "AMD Geode LX framebuffer support (EXPERIMENTAL)"
+	depends on FB && FB_GEODE 
+	select FB_CFB_FILLRECT
+	select FB_CFB_COPYAREA
+	select FB_CFB_IMAGEBLIT
+	---help---
+	  Framebuffer driver for the display controller integrated into the
+	  AMD Geode LX processors.
+
+	  To compile this driver as a module, choose M here: the module will
+	  be called lxfb.
+
+	  If unsure, say N.
+
 config FB_GEODE_GX
 	tristate "AMD Geode GX framebuffer support (EXPERIMENTAL)"
 	depends on FB && FB_GEODE && EXPERIMENTAL
drivers/video/geode/Makefile +2 -0
index f896565..957304b 100644
@@ -2,6 +2,8 @@
 
 obj-$(CONFIG_FB_GEODE_GX1) += gx1fb.o
 obj-$(CONFIG_FB_GEODE_GX)  += gxfb.o
+obj-$(CONFIG_FB_GEODE_LX)  += lxfb.o
 
 gx1fb-objs := gx1fb_core.o display_gx1.o video_cs5530.o
 gxfb-objs  := gxfb_core.o display_gx.o video_gx.o
+lxfb-objs  := lxfb_core.o lxfb_ops.o
drivers/video/geode/lxfb.h new file +199 -0

199 lines not on this page · raw message

drivers/video/geode/lxfb_core.c new file +621 -0

621 lines not on this page · raw message

drivers/video/geode/lxfb_ops.c new file +536 -0

536 lines not on this page · raw message

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Linux-fbdev-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel