[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Render acceleration ATI



hi guys,

i tried to dig more into my problem (non-functional acceleration with xorg 6.9 and EXA render acceleration on ati x600.

the card seems to be recognized by the radeon kernel module. drm doesn't recognize it, as it seems, although both radeon and drm modules are loaded. AGP and AGP_AMD64 are compiled into the kernel since they are automatically included with IOMMU.

i found following post on LKML:

http://lkml.org/lkml/2006/1/10/242

>>>>

Now that Xorg 6.9/7.0 has been released, DRI is supported on more Radeon
cards without ATI proprietary drivers. I got my X300 to work  without
problem. But, another Radeon X600 required to add its PCI ids to the
Radeon driver. Patch is attached.
I can't be sure about the "CHIP_RV350", I copied it from the X300 entry
(from http://dri.freedesktop.org/wiki/ATIRadeon, X600 is a rv380 chip
while X300 is a rv370). But, at least it works now.

--- linux-2.6.15/drivers/char/drm/drm_pciids.h.old 2006-01-10 13:23:34.000000000 -0500 +++ linux-2.6.15/drivers/char/drm/drm_pciids.h 2006-01-10 13:24:35.000000000 -0500
@@ -3,6 +3,7 @@
    Please contact dri-devel@lists.sf.net to add new cards to this list
 */
 #define radeon_PCI_IDS \
+	{0x1002, 0x3150, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RV350}, \
 	{0x1002, 0x4136, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RS100|CHIP_IS_IGP}, \
 	{0x1002, 0x4137, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RS200|CHIP_IS_IGP}, \
 	{0x1002, 0x4144, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_R300}, \
<<<

when i check the output of lspci -v/-n i get the following on my box

lspci -v
...
0000:02:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B62 [Radeon X600 (PCIE)] (prog-if 00 [VGA])
        Subsystem: ASUSTeK Computer Inc.: Unknown device 0022
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at 9e00 [size=256]
        Memory at df6f0000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at df600000 [disabled] [size=128K]
        Capabilities: <available only to root>

0000:02:00.1 Display controller: ATI Technologies Inc Radeon X600(RV380)
        Subsystem: ASUSTeK Computer Inc.: Unknown device 0023
        Flags: fast devsel
        Memory at df6e0000 (32-bit, non-prefetchable) [disabled] [size=64K]
        Capabilities: <available only to root>

lspci -n
...
0000:02:00.0 0300: 1002:5b62
0000:02:00.1 0380: 1002:5b72

i wanted to try to add the PCI ID of the card to the respective header file mentioned above, however i'm not sure which of these two... at the moment when the lspci -v/-n was executed i had radeon and drm modules loaded as i stated above.

i'm not particularly skilled in these things - do you thing that this will work? are there any other procedures necessary? which of the two numbers should i add to the drm_pciids.h?

thank you for any advice. regards,

--
Lubos
_@_"



Reply to: