linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nick Kurshev <nickols_k@mail.ru>
To: linux-kernel@vger.kernel.org
Cc: ajoshi@unixbox.com
Subject: [linux-2.4.9-ac9 PATCH] ATI Radeon VE framebuffer support
Date: Fri, 7 Sep 2001 15:46:38 +0400	[thread overview]
Message-ID: <20010907154638.53f86f92.nickols_k@mail.ru> (raw)

Hello!

I've found that linux doesn't support ATI Radeon VE frame buffer.
Bellow is patch for latest Alan's linux distribution to enable support of subj
This patch works (at least for me) and I get graphic screen with 640x480x256
on my Radeon VE chip.

Best regards! Nick


--- linux/drivers/video/radeonfb.c.old	Fri Sep  7 12:10:49 2001
+++ linux/drivers/video/radeonfb.c	Fri Sep  7 15:36:10 2001
@@ -12,13 +12,14 @@
  *	2001-07-05	fixed scrolling issues, engine initialization,
  *			and minor mode tweaking, 0.0.9
  *
+ *	2001-09-07	Radeon VE support
  *
  *	Special thanks to ATI DevRel team for their hardware donations.
  *
  */
 
 
-#define RADEON_VERSION	"0.0.9"
+#define RADEON_VERSION	"0.0.10"
 
 
 #include <linux/config.h>
@@ -62,7 +63,8 @@
 	RADEON_QD,
 	RADEON_QE,
 	RADEON_QF,
-	RADEON_QG
+	RADEON_QG,
+	RADEON_VE
 };
 
 
@@ -71,6 +73,7 @@
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_QE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_QE},
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_QF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_QF},
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_QG, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_QG},
+	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_VE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_VE},
 	{ 0, }
 };
 MODULE_DEVICE_TABLE(pci, radeonfb_pci_table);
@@ -639,6 +642,9 @@
 		case PCI_DEVICE_ID_RADEON_QG:
 			strcpy(rinfo->name, "Radeon QG ");
 			break;
+		case PCI_DEVICE_ID_RADEON_VE:
+			strcpy(rinfo->name, "Radeon VE ");
+			break;
 		default:
 			return -ENODEV;
 	}
@@ -754,7 +760,7 @@
 		radeon_engine_init (rinfo);
 	}
 
-	printk ("radeonfb: ATI Radeon %s %d MB\n", rinfo->ram_type,
+	printk ("radeonfb: ATI %s %d MB\n",rinfo->name,
 		(rinfo->video_ram/(1024*1024)));
 
 	return 0;

--- linux/drivers/video/radeon.h.old	Fri Sep  7 12:10:49 2001
+++ linux/drivers/video/radeon.h	Fri Sep  7 14:09:54 2001
@@ -7,6 +7,7 @@
 #define PCI_DEVICE_ID_RADEON_QE		0x5145
 #define PCI_DEVICE_ID_RADEON_QF		0x5146
 #define PCI_DEVICE_ID_RADEON_QG		0x5147
+#define PCI_DEVICE_ID_RADEON_VE		0x5159
 
 #define RADEON_REGSIZE			0x4000
 


                 reply	other threads:[~2001-09-07 11:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20010907154638.53f86f92.nickols_k@mail.ru \
    --to=nickols_k@mail.ru \
    --cc=ajoshi@unixbox.com \
    --cc=linux-kernel@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).