Hi,
I had to add my card to the dri_pciids.h files in order to get dri to
work (see attached patch).

lspci -v output for the card is :

0000:01:00.0 VGA compatible controller: ATI Technologies Inc M22 [Radeon 
Mobility M300] (prog-if 00 [VGA])
        Subsystem: IBM: Unknown device 056e
        Flags: bus master, fast devsel, latency 0, IRQ 169
        Memory at c0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at 3000 [size=256]
        Memory at a8100000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at a8120000 [disabled] [size=128K]
        Capabilities: <available only to root>

lspci -n says:

0000:01:00.0 0300: 1002:5460

Once I do this, dri seems to work.

Frank


-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
diff -ur r300-20060206-linux.i386/drm/linux/drm_pciids.h 
r300-20060128-linux.i386/drm/linux/drm_pciids.h
--- r300-20060206-linux.i386/drm/linux/drm_pciids.h     2006-02-06 
17:16:42.000000000 +0100
+++ r300-20060128-linux.i386/drm/linux/drm_pciids.h     2006-01-28 
23:42:24.000000000 +0100
@@ -56,6 +56,7 @@
        {0x1002, 0x516A, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_R200}, \
        {0x1002, 0x516B, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_R200}, \
        {0x1002, 0x516C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_R200}, \
+       {0x1002, 0x5460, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RV350}, \
        {0x1002, 0x5834, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RS300|CHIP_IS_IGP}, 
\
        {0x1002, 0x5835, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 
CHIP_RS300|CHIP_IS_IGP|CHIP_IS_MOBILITY}, \
        {0x1002, 0x5836, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RS300|CHIP_IS_IGP}, 
\
diff -ur r300-20060206-linux.i386/drm/linux-core/drm_pciids.h 
r300-20060128-linux.i386/drm/linux-core/drm_pciids.h
--- r300-20060206-linux.i386/drm/linux-core/drm_pciids.h        2006-02-06 
17:16:43.000000000 +0100
+++ r300-20060128-linux.i386/drm/linux-core/drm_pciids.h        2006-01-28 
23:42:44.000000000 +0100
@@ -56,6 +56,7 @@
        {0x1002, 0x516A, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_R200}, \
        {0x1002, 0x516B, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_R200}, \
        {0x1002, 0x516C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_R200}, \
+       {0x1002, 0x5460, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RV350}, \
        {0x1002, 0x5834, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RS300|CHIP_IS_IGP}, 
\
        {0x1002, 0x5835, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 
CHIP_RS300|CHIP_IS_IGP|CHIP_IS_MOBILITY}, \
        {0x1002, 0x5836, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RS300|CHIP_IS_IGP}, 
\

Reply via email to