lkml.org 
[lkml]   [2002]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] [CLEANUP] radeonfb accelerator id in 2.4.19
From
Date
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" */
\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.079 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site