Skip to content

Commit

Permalink
staging: Add framebuffer driver for XGI chipsets
Browse files Browse the repository at this point in the history
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: Arnaud Patard <apatard@mandriva.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
apatard@mandriva.com authored and Greg Kroah-Hartman committed Jun 4, 2010
1 parent ad84563 commit d7636e0
Show file tree
Hide file tree
Showing 24 changed files with 28,503 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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 change: 1 addition & 0 deletions drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 11 additions & 0 deletions drivers/staging/xgifb/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
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 changes: 4 additions & 0 deletions drivers/staging/xgifb/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
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 changes: 15 additions & 0 deletions drivers/staging/xgifb/TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
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>
10 changes: 10 additions & 0 deletions drivers/staging/xgifb/XGI.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#ifndef _XGI_H
#define _XGI_H

#if 1
#define TWDEBUG(x)
#else
#define TWDEBUG(x) printk(KERN_INFO x "\n");
#endif

#endif
Loading

0 comments on commit d7636e0

Please sign in to comment.