Re: [PATCH] [CLEANUP] radeonfb accelerator id in 2.4.19

Ingo Albrecht (prom@berlin.ccc.de)
05 Apr 2002 17:03:50 +0200


--=-Sn7RRxjHhAr0CuS263Z8
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

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

--=-Sn7RRxjHhAr0CuS263Z8 Content-Disposition: attachment; filename=diff-radeonfb-accel-id Content-Transfer-Encoding: quoted-printable Content-Type: text/x-patch; charset=ISO-8859-1

diff -Nurb linux-2.4.19-pre6-orig/drivers/video/radeonfb.c linux/drivers/vi= deo/radeonfb.c --- linux-2.4.19-pre6-orig/drivers/video/radeonfb.c Mon Feb 25 20:38:07 200= 2 +++ linux/drivers/video/radeonfb.c Fri Apr 5 15:49:31 2002 @@ -1855,7 +1855,7 @@ if (noaccel) fix->accel =3D FB_ACCEL_NONE; else - fix->accel =3D 40; /* XXX */ + fix->accel =3D FB_ACCEL_ATI_RADEON; =20 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 */ =20 struct fb_fix_screeninfo { char id[16]; /* identification string eg "TT Builtin" */

--=-Sn7RRxjHhAr0CuS263Z8-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/