public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Albrecht <prom@berlin.ccc.de>
To: Ani Joshi <ajoshi@shell.unixbox.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Marcelo Tosatti <marcelo@conectiva.com.br>,
	Linux Framebuffer Development List 
	<linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: [PATCH] [CLEANUP] radeonfb accelerator id in 2.4.19
Date: 05 Apr 2002 17:03:50 +0200	[thread overview]
Message-ID: <1018019030.30214.264.camel@zeus> (raw)
In-Reply-To: <1018018270.30211.259.camel@zeus>

[-- 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" */

  reply	other threads:[~2002-04-05 15:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-05 14:51 [PATCH] [CLEANUP] radeonfb accelerator id in 2.4.19 Ingo Albrecht
2002-04-05 15:03 ` Ingo Albrecht [this message]
2002-04-06 16:42   ` Ingo Albrecht
2002-04-07  5:00     ` Marcelo Tosatti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1018019030.30214.264.camel@zeus \
    --to=prom@berlin.ccc.de \
    --cc=ajoshi@shell.unixbox.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox