* [PATCH] [CLEANUP] radeonfb accelerator id in 2.4.19
@ 2002-04-05 14:51 Ingo Albrecht
2002-04-05 15:03 ` Ingo Albrecht
0 siblings, 1 reply; 4+ messages in thread
From: Ingo Albrecht @ 2002-04-05 14:51 UTC (permalink / raw)
To: Ani Joshi
Cc: Linux Framebuffer Development List, Linux Kernel Mailing List,
Marcelo Tosatti
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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] [CLEANUP] radeonfb accelerator id in 2.4.19
2002-04-05 14:51 [PATCH] [CLEANUP] radeonfb accelerator id in 2.4.19 Ingo Albrecht
@ 2002-04-05 15:03 ` Ingo Albrecht
2002-04-06 16:42 ` Ingo Albrecht
0 siblings, 1 reply; 4+ messages in thread
From: Ingo Albrecht @ 2002-04-05 15:03 UTC (permalink / raw)
To: Ani Joshi
Cc: Linux Kernel Mailing List, Marcelo Tosatti,
Linux Framebuffer Development List
[-- Attachment #1: Type: text/plain, Size: 591 bytes --]
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
[-- Attachment #2: diff-radeonfb-accel-id --]
[-- Type: text/x-patch, Size: 983 bytes --]
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" */
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] [CLEANUP] radeonfb accelerator id in 2.4.19
2002-04-05 15:03 ` Ingo Albrecht
@ 2002-04-06 16:42 ` Ingo Albrecht
2002-04-07 5:00 ` Marcelo Tosatti
0 siblings, 1 reply; 4+ messages in thread
From: Ingo Albrecht @ 2002-04-06 16:42 UTC (permalink / raw)
To: Ani Joshi; +Cc: Linux Kernel Mailing List, Marcelo Tosatti
[-- Attachment #1: Type: text/plain, Size: 354 bytes --]
On Fri, 2002-04-05 at 17:03, Ingo Albrecht wrote:
> Stupid me. Forgot the patch.
And sent one that doesnt apply. Bad day for me.
Well, this one does.
Thanks to marcello for wasting his time on
trying to apply the old one ;)
Ingo
--
Let the people think they govern and they will be governed.
-- William Penn, founder of Pennsylvania
[-- Attachment #2: diff-radeonfb-accel-id --]
[-- Type: text/x-patch, Size: 955 bytes --]
diff -Nurb linux-2.4.19-pre6/drivers/video/radeonfb.c linux/drivers/video/radeonfb.c
--- linux-2.4.19-pre6/drivers/video/radeonfb.c Sat Apr 6 18:08:06 2002
+++ linux/drivers/video/radeonfb.c Sat Apr 6 18:10:45 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/include/linux/fb.h linux/include/linux/fb.h
--- linux-2.4.19-pre6/include/linux/fb.h Sat Apr 6 18:07:16 2002
+++ linux/include/linux/fb.h Sat Apr 6 18:17:20 2002
@@ -94,6 +94,7 @@
#define FB_ACCEL_IGS_CYBER5000 35 /* CyberPro 5000 */
#define FB_ACCEL_SIS_GLAMOUR 36 /* SiS 300/630/540 */
#define FB_ACCEL_3DLABS_PERMEDIA3 37 /* 3Dlabs Permedia 3 */
+#define FB_ACCEL_ATI_RADEON 38 /* ATI Radeon family */
#define FB_ACCEL_NEOMAGIC_NM2070 90 /* NeoMagic NM2070 */
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] [CLEANUP] radeonfb accelerator id in 2.4.19
2002-04-06 16:42 ` Ingo Albrecht
@ 2002-04-07 5:00 ` Marcelo Tosatti
0 siblings, 0 replies; 4+ messages in thread
From: Marcelo Tosatti @ 2002-04-07 5:00 UTC (permalink / raw)
To: Ingo Albrecht; +Cc: Ani Joshi, Linux Kernel Mailing List
On 6 Apr 2002, Ingo Albrecht wrote:
> On Fri, 2002-04-05 at 17:03, Ingo Albrecht wrote:
> > Stupid me. Forgot the patch.
>
> And sent one that doesnt apply. Bad day for me.
> Well, this one does.
>
> Thanks to marcello for wasting his time on
> trying to apply the old one ;)
Latest one applied.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-04-07 6:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-05 14:51 [PATCH] [CLEANUP] radeonfb accelerator id in 2.4.19 Ingo Albrecht
2002-04-05 15:03 ` Ingo Albrecht
2002-04-06 16:42 ` Ingo Albrecht
2002-04-07 5:00 ` Marcelo Tosatti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox