add framebuffer and display update module support for pnx4008
PATCH 1/1 add framebuffer and display update module support for pnx4008
Hi folks,
inlined is the updated version of the patch that adds support for Display Update Module and RGB framebuffer device on Philips PNX4008 ARM board.
Kconfig | 15 Makefile | 2 pnx4008/Makefile | 7 pnx4008/dum.h | 211 ++++++++++++ pnx4008/fbcommon.h | 43 ++ pnx4008/pnxrgbfb.c | 214 +++++++++++++ pnx4008/sdum.c | 870 +++++++++++++++++++++++++++++++++++++++++++++++++++++ pnx4008/sdum.h | 139 ++++++++ 8 files changed, 1501 insertions(+)
drivers/video/pnx4008/Makefile new file +7 -0
@@ -0,0 +1,7 @@ +# +# Makefile for the new PNX4008 framebuffer device driver +# + +obj-$(CONFIG_FB_PNX4008_DUM) += sdum.o +obj-$(CONFIG_FB_PNX4008_DUM_RGB) += pnxrgbfb.o +
drivers/video/pnx4008/dum.h new file +211 -0
211 lines not on this page · raw message
drivers/video/pnx4008/fbcommon.h new file +43 -0
43 lines not on this page · raw message
drivers/video/Kconfig +15 -0
@@ -1560,6 +1560,21 @@ config FB_S3C2410_DEBUG Turn on debugging messages. Note that you can set/unset at run time through sysfs +config FB_PNX4008_DUM + tristate "Display Update Module support on Philips PNX4008 board" + depends on FB && ARCH_PNX4008 + ---help--- + Say Y here to enable support for PNX4008 Display Update Module (DUM) + +config FB_PNX4008_DUM_RGB + tristate "RGB Framebuffer support on Philips PNX4008 board" + depends on FB_PNX4008_DUM + select FB_CFB_FILLRECT + select FB_CFB_COPYAREA + select FB_CFB_IMAGEBLIT + ---help--- + Say Y here to enable support for PNX4008 RGB Framebuffer + config FB_VIRTUAL tristate "Virtual Frame Buffer support (ONLY FOR TESTING!)" depends on FB
drivers/video/Makefile +2 -0
@@ -94,6 +94,8 @@ obj-$(CONFIG_FB_TX3912) += tx3912fb.o obj-$(CONFIG_FB_S1D13XXX) += s1d13xxxfb.o obj-$(CONFIG_FB_IMX) += imxfb.o obj-$(CONFIG_FB_S3C2410) += s3c2410fb.o +obj-$(CONFIG_FB_PNX4008_DUM) += pnx4008/ +obj-$(CONFIG_FB_PNX4008_DUM_RGB) += pnx4008/ # Platform or fallback drivers go here obj-$(CONFIG_FB_VESA) += vesafb.o
drivers/video/pnx4008/sdum.c new file +870 -0
870 lines not on this page · raw message
drivers/video/pnx4008/sdum.h new file +139 -0
139 lines not on this page · raw message
drivers/video/pnx4008/pnxrgbfb.c new file +214 -0
214 lines not on this page · raw message
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 6 lines · Vitaly Wool
Hi folks,
inlined is the updated version of the patch that adds support for Display Update Module and RGB framebuffer device on Philips PNX4008 ARM board.
I did a final review before sending this to akpm, I noticed that in put_cmd_string(), it is reading and writing to io memory but is not using the standard IO accessors. Is this intended or an oversight?
If it's an oversight, would you prefer to fix it first, or should I post it to akpm with the provision that it will be fixed later?
Tony
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Tony,
Quoted 6 lines
I did a final review before sending this to akpm, I noticed that in
put_cmd_string(), it is reading and writing to io memory but is not using the standard IO accessors. Is this intended or an oversight?If it's an oversight, would you prefer to fix it first, or should I post it to akpm with the provision that it will be fixed later?
thanks for pointing that out, that's an oversight and I'll repost the updated version shortly.
Vitaly
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642