Messages in this thread Patch in this message | | | Subject | Re: [PATCH] [CLEANUP] radeonfb accelerator id in 2.4.19 | From | Ingo Albrecht <> | Date | 05 Apr 2002 17:03:50 +0200 |
| |
Stupid me. Forgot the patch.
On Fri, 2002-04-05 at 16:51, Ingo Albrecht wrote: > > This small patch assigns an accelerator id to radeonfb. > The reason for this should be obvious. > > This is against 2.4.19-pre6, but making it apply against > something else shouldnt be a lot of work ;) > > I read LKML, but not fbdev-devel. > > Ingo > > -- > Let the people think they govern and they will be governed. > -- William Penn, founder of Pennsylvania -- Let the people think they govern and they will be governed. -- William Penn, founder of Pennsylvania diff -Nurb linux-2.4.19-pre6-orig/drivers/video/radeonfb.c linux/drivers/video/radeonfb.c --- linux-2.4.19-pre6-orig/drivers/video/radeonfb.c Mon Feb 25 20:38:07 2002 +++ linux/drivers/video/radeonfb.c Fri Apr 5 15:49:31 2002 @@ -1855,7 +1855,7 @@ if (noaccel) fix->accel = FB_ACCEL_NONE; else - fix->accel = 40; /* XXX */ + fix->accel = FB_ACCEL_ATI_RADEON; return 0; } diff -Nurb linux-2.4.19-pre6-orig/include/linux/fb.h linux/include/linux/fb.h --- linux-2.4.19-pre6-orig/include/linux/fb.h Mon Dec 11 22:16:53 2000 +++ linux/include/linux/fb.h Fri Apr 5 15:48:42 2002 @@ -93,6 +93,7 @@ #define FB_ACCEL_IGS_CYBER2010 34 /* CyberPro 2010 */ #define FB_ACCEL_IGS_CYBER5000 35 /* CyberPro 5000 */ #define FB_ACCEL_SIS_GLAMOUR 36 /* SiS 300/630/540 */ +#define FB_ACCEL_ATI_RADEON 37 /* ATI Radeon family */ struct fb_fix_screeninfo { char id[16]; /* identification string eg "TT Builtin" */ | |