* Radeonfb update and fix
@ 2003-06-18 20:38 Toplica Tanasković
2003-06-18 21:06 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 3+ messages in thread
From: Toplica Tanasković @ 2003-06-18 20:38 UTC (permalink / raw)
To: linux-kernel; +Cc: Alan Cox, Marcelo Tosatti
[-- Attachment #1: Type: text/plain, Size: 362 bytes --]
Hi, everyone!
This patch does two things:
1. Adds RV250 (R9000 series) Radeon to radeon framebuffer files.
2. Fixes small but annoying bug for Radeon P/M users. The brake was missing
in case so -ENODEV was returned for this card.
It applies to 2.4.21 and 2.4.21-ac1, both.
Alan and Marcelo please apply.
--
Pozdrav,
Toplica Tanasković
[-- Attachment #2: radeonfb.diff --]
[-- Type: text/x-diff, Size: 1667 bytes --]
diff -ruN orig/linux-2.4.21/drivers/video/radeonfb.c linux/drivers/video/radeonfb.c
--- orig/linux-2.4.21/drivers/video/radeonfb.c 2003-06-14 00:38:58.000000000 +0200
+++ linux/drivers/video/radeonfb.c 2003-06-14 01:46:30.000000000 +0200
@@ -101,7 +101,8 @@
RADEON_LW, /* Radeon Mobility M7 */
RADEON_LY, /* Radeon Mobility M6 */
RADEON_LZ, /* Radeon Mobility M6 */
- RADEON_PM /* Radeon Mobility P/M */
+ RADEON_PM, /* Radeon Mobility P/M */
+ RADEON_IF /* Radeon RV250 (9000) */
};
@@ -129,6 +130,7 @@
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_LY, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_LY},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_LZ, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_LZ},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_PM, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_PM},
+ { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_IF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_IF},
{ 0, }
};
MODULE_DEVICE_TABLE(pci, radeonfb_pci_table);
@@ -861,6 +863,11 @@
case PCI_DEVICE_ID_RADEON_PM:
strcpy(rinfo->name, "Radeon P/M ");
rinfo->hasCRTC2 = 1;
+ break;
+ case PCI_DEVICE_ID_RADEON_IF:
+ strcpy(rinfo->name, "Radeon R9000 IF ");
+ rinfo->hasCRTC2 = 1;
+ break;
default:
return -ENODEV;
}
diff -ruN orig/linux-2.4.21/drivers/video/radeon.h linux/drivers/video/radeon.h
--- orig/linux-2.4.21/drivers/video/radeon.h 2002-11-29 00:53:15.000000000 +0100
+++ linux/drivers/video/radeon.h 2003-06-14 01:43:46.000000000 +0200
@@ -15,6 +15,7 @@
#define PCI_DEVICE_ID_RADEON_PM 0x4c52
#define PCI_DEVICE_ID_RADEON_QL 0x514c
#define PCI_DEVICE_ID_RADEON_QW 0x5157
+#define PCI_DEVICE_ID_RADEON_IF 0x4966
#define RADEON_REGSIZE 0x4000
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Radeonfb update and fix
2003-06-18 20:38 Radeonfb update and fix Toplica Tanasković
@ 2003-06-18 21:06 ` Benjamin Herrenschmidt
2003-06-18 22:54 ` Toplica Tanasković
0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2003-06-18 21:06 UTC (permalink / raw)
To: Toplica Tanasković
Cc: linux-kernel mailing list, Alan Cox, Marcelo Tosatti
On Wed, 2003-06-18 at 22:38, Toplica Tanasković wrote:
> Hi, everyone!
>
> This patch does two things:
>
> 1. Adds RV250 (R9000 series) Radeon to radeon framebuffer files.
> 2. Fixes small but annoying bug for Radeon P/M users. The brake was missing
> in case so -ENODEV was returned for this card.
>
> It applies to 2.4.21 and 2.4.21-ac1, both.
Well... ATI keeps claiming there is no such thing as Radeon P/M, there
is indeed a mach64 P/M chip and the device ID there matches a mach64
chip. Do you own such a thing that works with radeonfb or knows somebody
who do ?
Ben.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Radeonfb update and fix
2003-06-18 21:06 ` Benjamin Herrenschmidt
@ 2003-06-18 22:54 ` Toplica Tanasković
0 siblings, 0 replies; 3+ messages in thread
From: Toplica Tanasković @ 2003-06-18 22:54 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: Alan Cox, linux-kernel, Marcelo Tosatti
Dana sreda 18. jun 2003. 23:06 napisali ste:
>
> Well... ATI keeps claiming there is no such thing as Radeon P/M, there
> is indeed a mach64 P/M chip and the device ID there matches a mach64
> chip. Do you own such a thing that works with radeonfb or knows somebody
> who do ?
Nope. Sorry.
--
Pozdrav,
Toplica Tanasković
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-06-18 22:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-18 20:38 Radeonfb update and fix Toplica Tanasković
2003-06-18 21:06 ` Benjamin Herrenschmidt
2003-06-18 22:54 ` Toplica Tanasković
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®