linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Elimar Riesebieter <riesebie@lxtec.de>
To: linux-fbdev-devel@lists.sourceforge.net
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Luca Tettamanti <kronos.it@gmail.com>
Subject: radeonfb: Please enable support for X850XT
Date: Thu, 6 Dec 2007 22:28:09 +0100	[thread overview]
Message-ID: <20071206212809.GA8249@aragorn.home.lxtec.de> (raw)


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

             reply	other threads:[~2007-12-06 21:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-06 21:28 Elimar Riesebieter [this message]
2007-12-06 21:37 ` radeonfb: Please enable support for X850XT Elimar Riesebieter
2007-12-08 13:18 ` Luca Tettamanti
2007-12-09 17:43   ` Elimar Riesebieter
2008-03-06  6:42     ` Andrew Morton
2008-03-06 10:07       ` Luca Tettamanti
2008-03-06 10:56         ` Benjamin Herrenschmidt

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=20071206212809.GA8249@aragorn.home.lxtec.de \
    --to=riesebie@lxtec.de \
    --cc=benh@kernel.crashing.org \
    --cc=kronos.it@gmail.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /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).