Commit d7636e0b authored by apatard@mandriva.com's avatar apatard@mandriva.com Committed by Greg Kroah-Hartman
Browse files

staging: Add framebuffer driver for XGI chipsets



This driver handles XG20, XG21, XG40, XG42 chipsets from XGI. They're
also known as Z7,Z9,Z11 chipsets. It's based on the SiS fb driver but
has been heavily modified by XGI to support their newer chipsets.


Signed-off-by: default avatarArnaud Patard <apatard@mandriva.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ad845636
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -141,5 +141,7 @@ source "drivers/staging/ti-st/Kconfig"

source "drivers/staging/adis16255/Kconfig"

source "drivers/staging/xgifb/Kconfig"

endif # !STAGING_EXCLUDE_BUILD
endif # STAGING
+1 −0
Original line number Diff line number Diff line
@@ -51,3 +51,4 @@ obj-$(CONFIG_CRYSTALHD) += crystalhd/
obj-$(CONFIG_CXT1E1)		+= cxt1e1/
obj-$(CONFIG_TI_ST)		+= ti-st/
obj-$(CONFIG_ADIS16255)		+= adis16255/
obj-$(CONFIG_FB_XGI)		+= xgifb/
+11 −0
Original line number Diff line number Diff line
config FB_XGI
	tristate "XGI display support"
	depends on FB && PCI
	select FB_CFB_FILLRECT
	select FB_CFB_COPYAREA
	select FB_CFB_IMAGEBLIT
	help
	  This driver supports notebooks with XGI Z7,Z9,Z11 PCI chips.
	  Say Y if you have such a graphics card.
	  To compile this driver as a module, choose M here: the
	  module will be called xgifb.ko
+4 −0
Original line number Diff line number Diff line
obj-$(CONFIG_FB_XGI)  += xgifb.o

xgifb-objs := XGI_main_26.o XGI_accel.o vb_init.o vb_setmode.o vb_util.o vb_ext.o
+15 −0
Original line number Diff line number Diff line
This drivers still need a lot of work. I can list all cleanups to do but it's
going to be long. So, I'm writing "cleanups" and not the list.

Arnaud

TODO:
- clean ups
- fix build warnings when module
- sort out dup ids with SiS driver
- remove useless/wrong/unused #ifdef/code/...
- fix printk usages
- get rid of non-linux related stuff

Please send patches to:
Arnaud Patard <apatard@mandriva.com>
Loading