Adding new R300 PCIID

2006-01-26 Thread TJ
Hi,

I have a Dell R300 of some sort. Its PCI ID was not in
drm_pciids.h

so I added: (didn't know so added both heads listing)

{0x1002, 0x5b60, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_R300}, \
{0x1002, 0x5b70, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_R300}, \

Cards lspci -vvn output:

:01:00.0 0300: 1002:5b60
Subsystem: 1002:0402
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort-
TAbort- MAbort- SERR- PERR-
Interrupt: pin A routed to IRQ 16
Region 0: Memory at d000 (32-bit, prefetchable) [size=128M]
Region 1: I/O ports at dc00 [size=256]
Region 2: Memory at dfde (32-bit, non-prefetchable) [size=64K]
Expansion ROM at dfe0 [disabled] [size=128K]
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-
Capabilities: [58] #10 [0001]
Capabilities: [80] Message Signalled Interrupts: 64bit+
Queue=0/0 Enable-
Address:   Data: 

:01:00.1 0380: 1002:5b70
Subsystem: 1002:0403
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort-
TAbort- MAbort- SERR- PERR-
Latency: 0, Cache Line Size: 0x10 (64 bytes)
Region 0: Memory at dfdf (32-bit, non-prefetchable) [size=64K]
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-
Capabilities: [58] #10 [0001]

and lspci -v output (for some strings)

:01:00.0 VGA compatible controller: ATI Technologies Inc RV370
5B60 [Radeon X300 (PCIE)] (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc: Unknown device 0402
Flags: fast devsel, IRQ 16
Memory at d000 (32-bit, prefetchable) [size=128M]
I/O ports at dc00 [size=256]
Memory at dfde (32-bit, non-prefetchable) [size=64K]
Expansion ROM at dfe0 [disabled] [size=128K]
Capabilities: [50] Power Management version 2
Capabilities: [58] #10 [0001]
Capabilities: [80] Message Signalled Interrupts: 64bit+
Queue=0/0 Enable-

:01:00.1 Display controller: ATI Technologies Inc RV370 [Radeon X300SE]
Subsystem: ATI Technologies Inc: Unknown device 0403
Flags: bus master, fast devsel, latency 0
Memory at dfdf (32-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 2
Capabilities: [58] #10 [0001]

I am trying to get dual head to work properly. Maybe someone can help.
I don't want clone or mergefb i want two independant screens.
But I only get those two modes.
Here is my current configs incarnation:

Section Device
Identifier  ATI R300 1
Driver  radeon
#   Option MonitorLayout  TMDS, TMDS
Option DDCModeTRUE
BusID   PCI:1:0:0
Screen  0
EndSection

Section Device
Identifier  ATI R300 2
Driver  radeon
Option DDCModeTRUE
BusID   PCI:1:0:0
Screen  1
EndSection

usual screen and monitor sections, and screen 2 set RightOf screen 1
in layout section. This gives me a clone screen on 2 that the mouse
can not get on.

If anyone is interested in helping I can give logs, full config etc.

Thank you

Thorben

PS I am not on the list, please CC me


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Adding new R300 PCIID

2006-01-26 Thread Alex Deucher
On 1/26/06, TJ [EMAIL PROTECTED] wrote:
 Hi,

 I have a Dell R300 of some sort. Its PCI ID was not in
 drm_pciids.h

 so I added: (didn't know so added both heads listing)

 {0x1002, 0x5b60, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_R300}, \
 {0x1002, 0x5b70, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_R300}, \


you don't need the secondary id.  also the drm isn't necessary for
dualhead and won't actually be used in what you are trying to do.

 Cards lspci -vvn output:

 :01:00.0 0300: 1002:5b60
 Subsystem: 1002:0402
 Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
 ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort-
 TAbort- MAbort- SERR- PERR-
 Interrupt: pin A routed to IRQ 16
 Region 0: Memory at d000 (32-bit, prefetchable) [size=128M]
 Region 1: I/O ports at dc00 [size=256]
 Region 2: Memory at dfde (32-bit, non-prefetchable) [size=64K]
 Expansion ROM at dfe0 [disabled] [size=128K]
 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-
 Capabilities: [58] #10 [0001]
 Capabilities: [80] Message Signalled Interrupts: 64bit+
 Queue=0/0 Enable-
 Address:   Data: 

 :01:00.1 0380: 1002:5b70
 Subsystem: 1002:0403
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
 ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort-
 TAbort- MAbort- SERR- PERR-
 Latency: 0, Cache Line Size: 0x10 (64 bytes)
 Region 0: Memory at dfdf (32-bit, non-prefetchable) [size=64K]
 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-
 Capabilities: [58] #10 [0001]

 and lspci -v output (for some strings)

 :01:00.0 VGA compatible controller: ATI Technologies Inc RV370
 5B60 [Radeon X300 (PCIE)] (prog-if 00 [VGA])
 Subsystem: ATI Technologies Inc: Unknown device 0402
 Flags: fast devsel, IRQ 16
 Memory at d000 (32-bit, prefetchable) [size=128M]
 I/O ports at dc00 [size=256]
 Memory at dfde (32-bit, non-prefetchable) [size=64K]
 Expansion ROM at dfe0 [disabled] [size=128K]
 Capabilities: [50] Power Management version 2
 Capabilities: [58] #10 [0001]
 Capabilities: [80] Message Signalled Interrupts: 64bit+
 Queue=0/0 Enable-

 :01:00.1 Display controller: ATI Technologies Inc RV370 [Radeon X300SE]
 Subsystem: ATI Technologies Inc: Unknown device 0403
 Flags: bus master, fast devsel, latency 0
 Memory at dfdf (32-bit, non-prefetchable) [size=64K]
 Capabilities: [50] Power Management version 2
 Capabilities: [58] #10 [0001]


you can ignore the :01:00.1 id.

 I am trying to get dual head to work properly. Maybe someone can help.
 I don't want clone or mergefb i want two independant screens.
 But I only get those two modes.
 Here is my current configs incarnation:

this is more of an x server issues than DRI related.  In fact the DRI
won't even work with two independant screens on a dualhead card.


 Section Device
 Identifier  ATI R300 1
 Driver  radeon
 #   Option MonitorLayout  TMDS, TMDS
 Option DDCModeTRUE
 BusID   PCI:1:0:0
 Screen  0
 EndSection

 Section Device
 Identifier  ATI R300 2
 Driver  radeon
 Option DDCModeTRUE
 BusID   PCI:1:0:0
 Screen  1
 EndSection

 usual screen and monitor sections, and screen 2 set RightOf screen 1
 in layout section. This gives me a clone screen on 2 that the mouse
 can not get on.

 If anyone is interested in helping I can give logs, full config etc.


can you post your full log and config somewhere?

Alex

 Thank you

 Thorben

 PS I am not on the list, please CC me




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel