radeonfb: Please enable support for X850XT

7 messages, 4 authors, 2008-03-06 · open the first message on its own page

radeonfb: Please enable support for X850XT

From: Elimar Riesebieter <hidden>
Date: 2007-12-06 21:28:27

Hi gents,

I've built in a new graphic adapter. DRI and r300 works well.

Xorg.0.log:
(--) RADEON(0): Chipset: "ATI Radeon X850 XT (R480) (AGP)" (ChipID = 0x4b49)

lspci:

01:00.0 VGA compatible controller: ATI Technologies Inc R480 [Radeon X850XT] (prog-if 00 [VGA])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (2000ns min), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at d8000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at d800 [size=256]
        Region 2: Memory at c7000000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at d7fe0000 [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
                Status: RQ=80 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
                Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-


There was a patch which looked like enabling this card:

http://marc.info/?l=linux-fbdev-devel&m=116768377303703&w=2

but didn't went into mainline. The patch doesn't apply to recent kernels. So
could you please tell me how support for the X850XT (AGP) canbe applied?

I've tried:

diff -Naurd linux-2.6.23.orig/drivers/video/aty/ati_ids.h linux-2.6.23/drivers/video/aty/ati_ids.h
--- linux-2.6.23.orig/drivers/video/aty/ati_ids.h_ииииии2007-10-10 00:33:44.000000000 +0200
+++ linux-2.6.23/drivers/video/aty/ati_ids.h_иии2007-12-06 20:25:03.000000000 +0100
@@ -72,6 +72,7 @@
 #define PCI_CHIP_R420_JM                0x4A4D
 #define PCI_CHIP_R420_JN                0x4A4E
 #define PCI_CHIP_R420_JP                0x4A50
+#define PCI_CHIP_R480_KI               0x4B49
 #define PCI_CHIP_MACH64LB              0x4C42
 #define PCI_CHIP_MACH64LD              0x4C44
 #define PCI_CHIP_RAGE128LE             0x4C45
diff -Naurd linux-2.6.23.orig/drivers/video/aty/radeon_base.c linux-2.6.23/drivers/video/aty/radeon_base.c
--- linux-2.6.23.orig/drivers/video/aty/radeon_base.c_ии2007-10-10 00:33:44.000000000 +0200
+++ linux-2.6.23/drivers/video/aty/radeon_base.c_иииииии2007-12-06 20:26:18.000000000 +0100
@@ -220,6 +220,7 @@
        CHIP_DEF(PCI_CHIP_R423_UR,      R420,   CHIP_HAS_CRTC2),
        CHIP_DEF(PCI_CHIP_R423_UT,      R420,   CHIP_HAS_CRTC2),
        CHIP_DEF(PCI_CHIP_R423_5D57,    R420,   CHIP_HAS_CRTC2),
+       CHIP_DEF(PCI_CHIP_R480_KI,      R420,   CHIP_HAS_CRTC2),
        /* Original Radeon/7200 */
        CHIP_DEF(PCI_CHIP_RADEON_QD,    RADEON,_0),
        CHIP_DEF(PCI_CHIP_RADEON_QE,    RADEON,_0),

with no success :(

Thanks
Elimar


-- 
  Do you smell something burning or ist it me?

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

Re: radeonfb: Please enable support for X850XT

From: Elimar Riesebieter <hidden>
Date: 2007-12-06 21:37:26

On Thu, 06 Dec 2007 the mental interface of
Elimar Riesebieter told:

[...]
There was a patch which looked like enabling this card:

http://marc.info/?l=linux-fbdev-devel&m=116768377303703&w=2
Sorry, must be
http://marc.info/?l=linux-fbdev-devel&m=116769067309397&w=2

Elimar

-- 
  It's a good thing we don't get all 
  the government we pay for.

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

Re: radeonfb: Please enable support for X850XT

From: "Luca Tettamanti" <kronos.it@gmail.com>
Date: 2007-12-08 13:18:21

On Dec 6, 2007 10:28 PM, Elimar Riesebieter [off-list ref] wrote:
Hi gents,

I've built in a new graphic adapter. DRI and r300 works well.

Xorg.0.log:
(--) RADEON(0): Chipset: "ATI Radeon X850 XT (R480) (AGP)" (ChipID = 0x4b49)
[...]
There was a patch which looked like enabling this card:

http://marc.info/?l=linux-fbdev-devel&m=116768377303703&w=2

but didn't went into mainline. The patch doesn't apply to recent kernels. So
could you please tell me how support for the X850XT (AGP) can be applied?
Currently I rebase the patch against git-current for my own use, but I
really lack the time to properly cleanup, split and submit for
inclusion in mainline.

Btw, Jerome Glisse recently published code for in-kernel mode setting
[1]; I see the fb layer going away...

Luca
[1] http://jglisse.livejournal.com/852.html

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

Re: radeonfb: Please enable support for X850XT

From: Elimar Riesebieter <hidden>
Date: 2007-12-09 17:44:09

On Sat, 08 Dec 2007 the mental interface of
Luca Tettamanti told:
On Dec 6, 2007 10:28 PM, Elimar Riesebieter [off-list ref]
wrote:
[...]
quoted
So could you please tell me how support for the X850XT (AGP) can
be applied?
Currently I rebase the patch against git-current for my own use,
but I really lack the time to properly cleanup, split and submit
for inclusion in mainline.
Attached patch applies to 2.6.23 and works with both radeonfb and
Xorg on a X850XT. Others I can't test.

Elimar


-- 
  Numeric stability is probably not all that 
  important when you're guessing;-)

Re: radeonfb: Please enable support for X850XT

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2008-03-06 06:42:23

(cc's restored.  Please always do reply-to-all)

On Sun, 9 Dec 2007 18:43:46 +0100 Elimar Riesebieter [off-list ref] wrote:
On Sat, 08 Dec 2007 the mental interface of
Luca Tettamanti told:
quoted
On Dec 6, 2007 10:28 PM, Elimar Riesebieter [off-list ref]
wrote:
[...]
quoted
quoted
So could you please tell me how support for the X850XT (AGP) can
be applied?
Currently I rebase the patch against git-current for my own use,
but I really lack the time to properly cleanup, split and submit
for inclusion in mainline.
Attached patch applies to 2.6.23 and works with both radeonfb and
Xorg on a X850XT. Others I can't test.

Elimar


-- 
  Numeric stability is probably not all that 
  important when you're guessing;-)


[r480.diff  text/plain (93.8KB)]
It no longer applies.  Could you please redo it against current Linux
mainline and resend, with a full changelog and signed-off-by:?  Thanks.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Re: radeonfb: Please enable support for X850XT

From: "Luca Tettamanti" <kronos.it@gmail.com>
Date: 2008-03-06 10:07:06

On Thu, Mar 6, 2008 at 7:42 AM, Andrew Morton [off-list ref] wrote:
 (cc's restored.  Please always do reply-to-all)

 On Sun, 9 Dec 2007 18:43:46 +0100 Elimar Riesebieter [off-list ref] wrote:

 > On Sat, 08 Dec 2007 the mental interface of
 > Luca Tettamanti told:
quoted
 > > On Dec 6, 2007 10:28 PM, Elimar Riesebieter [off-list ref]
 > > wrote:
 > [...]
quoted
quoted
quoted
So could you please tell me how support for the X850XT (AGP) can
 > > > be applied?
 > >
 > > Currently I rebase the patch against git-current for my own use,
 > > but I really lack the time to properly cleanup, split and submit
 > > for inclusion in mainline.
 >
 > Attached patch applies to 2.6.23 and works with both radeonfb and
 > Xorg on a X850XT. Others I can't test.
[...]
 It no longer applies.  Could you please redo it against current Linux
 mainline and resend, with a full changelog and signed-off-by:?  Thanks.
I can send you what I'm using here, but I really don't think that it's
suitable for mainline.
With the recent progress with the in-kernel modesetting (hi Jerome :D)
 radeonfb is going away soon, replaced with a generic "drmfb".

Luca

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Re: radeonfb: Please enable support for X850XT

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2008-03-06 10:57:02

On Thu, 2008-03-06 at 11:07 +0100, Luca Tettamanti wrote:
quoted
 It no longer applies.  Could you please redo it against current
Linux
quoted
 mainline and resend, with a full changelog and signed-off-by:?
Thanks.

I can send you what I'm using here, but I really don't think that it's
suitable for mainline.
With the recent progress with the in-kernel modesetting (hi Jerome :D)
 radeonfb is going away soon, replaced with a generic "drmfb".
I agree. There is little point in adding more support to radeonfb at
this stage. It's on life support, in order to provide the basic console
for machines without VGA text mode such as powermacs, but it will be
replaced by the new stuff from Jerome soon enough.

Cheers,
Ben.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help