Commit f2136be1 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] mips: GBE Video Driver

From: Ralf Baechle <ralf@linux-mips.org>

This patch adds the GBE video driver for the video system in SGI IP32
aka O2 and it's i386-based equivalent the Visual Workstation.
                                                                              
This driver obsoletes sgivwfb.c; but I'd prefer to play safe and remove
it after some additional time, just in case.
parent 4663d2a4
...@@ -319,6 +319,21 @@ config FB_SGIVW ...@@ -319,6 +319,21 @@ config FB_SGIVW
help help
SGI Visual Workstation support for framebuffer graphics. SGI Visual Workstation support for framebuffer graphics.
config FB_GBE
bool "SGI Graphics Backend frame buffer support"
depends on FB && (SGI_IP32 || X86_VISWS)
help
This is the frame buffer device driver for SGI Graphics Backend.
This chip is used in SGI O2 and Visual Workstation 320/540.
config FB_GBE_MEM
int "Video memory size in MB"
depends on FB_GBE
default 8
help
This is the amount of memory reserved for the framebuffer,
which can be any value between 1MB and 8MB.
config BUS_I2C config BUS_I2C
bool bool
depends on FB && VISWS depends on FB && VISWS
......
...@@ -31,6 +31,7 @@ obj-$(CONFIG_FB_CT65550) += chipsfb.o cfbfillrect.o cfbcopyarea.o cfbim ...@@ -31,6 +31,7 @@ obj-$(CONFIG_FB_CT65550) += chipsfb.o cfbfillrect.o cfbcopyarea.o cfbim
obj-$(CONFIG_FB_CLPS711X) += clps711xfb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o obj-$(CONFIG_FB_CLPS711X) += clps711xfb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
obj-$(CONFIG_FB_CYBER) += cyberfb.o obj-$(CONFIG_FB_CYBER) += cyberfb.o
obj-$(CONFIG_FB_CYBER2000) += cyber2000fb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o obj-$(CONFIG_FB_CYBER2000) += cyber2000fb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
obj-$(CONFIG_FB_GBE) += gbefb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
obj-$(CONFIG_FB_SGIVW) += sgivwfb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o obj-$(CONFIG_FB_SGIVW) += sgivwfb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
obj-$(CONFIG_FB_3DFX) += tdfxfb.o cfbimgblt.o obj-$(CONFIG_FB_3DFX) += tdfxfb.o cfbimgblt.o
obj-$(CONFIG_FB_MAC) += macfb.o macmodes.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o obj-$(CONFIG_FB_MAC) += macfb.o macmodes.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o
......
...@@ -121,6 +121,8 @@ extern int sun3fb_init(void); ...@@ -121,6 +121,8 @@ extern int sun3fb_init(void);
extern int sun3fb_setup(char *); extern int sun3fb_setup(char *);
extern int sgivwfb_init(void); extern int sgivwfb_init(void);
extern int sgivwfb_setup(char*); extern int sgivwfb_setup(char*);
extern int gbefb_init(void);
extern int gbefb_setup(char*);
extern int rivafb_init(void); extern int rivafb_init(void);
extern int rivafb_setup(char*); extern int rivafb_setup(char*);
extern int tdfxfb_init(void); extern int tdfxfb_init(void);
...@@ -307,6 +309,9 @@ static struct { ...@@ -307,6 +309,9 @@ static struct {
#ifdef CONFIG_FB_SGIVW #ifdef CONFIG_FB_SGIVW
{ "sgivwfb", sgivwfb_init, sgivwfb_setup }, { "sgivwfb", sgivwfb_init, sgivwfb_setup },
#endif #endif
#ifdef CONFIG_FB_GBE
{ "gbefb", gbefb_init, gbefb_setup },
#endif
#ifdef CONFIG_FB_ACORN #ifdef CONFIG_FB_ACORN
{ "acornfb", acornfb_init, acornfb_setup }, { "acornfb", acornfb_init, acornfb_setup },
#endif #endif
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment