Radeon driver : other cards which should be supported

2008-05-14 Thread loic . mahe
Hello,

I've noticed the radeon driver changes following the last patch 
(4.7.99.16-4.7.99.17.diff.bz2).
Thanks for having taken into account my proposals.

Here is another list of Radeon cards which should be supported by the 
radeon driver.
I suspect all the entries marked as Secondary can be ignored, because the 
primary head will do
the job from XFree86's point of view.

0x10020x3151"ATI|M24 [FireMV 2400]"
0x10020x3171"ATI|M24 [FireMV 2400] (Secondary)"
0x10020x3e70"ATI|RV380 [Radeon X600] (Secondary)"
0x10020x4164"ATI|R300 AD [Radeon 9500 Pro] (Secondary)"
0x10020x4165"ATI|R300 AE [Radeon 9700 Pro] (Secondary)"
0x10020x4166"ATI|R300 AF [Radeon 9700 Pro] (Secondary)"
0x10020x4168"ATI|Radeon R350 [Radeon 9800] (Secondary)"
0x10020x4170"ATI|RV350 AP [Radeon 9600] (Secondary)"
0x10020x4171"ATI|RV350 AQ [Radeon 9600] (Secondary)"
0x10020x4172"ATI|RV350 AR [Radeon 9600] (Secondary)"
0x10020x4173"ATI|RV350 AS [Radeon 9550] (Secondary)"
0x10020x496e"ATI|Radeon RV250 [Radeon 9000] (Secondary)"
0x10020x4a69"ATI|R420 [Radeon X800 PRO/GTO] (Secondary)"
0x10020x4a6a"ATI|R420 [Radeon X800] (Secondary)"
0x10020x4a6b"ATI|R420 [Radeon X800] (Secondary)"
0x10020x4a70"ATI|R420 [X800XT-PE] (Secondary)"
0x10020x4a74"ATI|R420 [Radeon X800 VE] (Secondary)"
0x10020x4b48"ATI|Radeon X850 Consumer (R481)"
0x10020x4b69"ATI|R480 [Radeon X850XT] (Secondary)"
0x10020x4b6b"ATI|R480 [Radeon X850Pro] (Secondary)"
0x10020x4b6c"ATI|R481 [Radeon X850XT-PE] (Secondary)"
0x10020x4c6e"ATI|Radeon RV250 Ln [Radeon Mobility 9000 M9] 
(Secondary)"
0x10020x4e64"ATI|Radeon R300 [Radeon 9700 Pro] 
(Secondary)"
0x10020x4e65"ATI|Radeon R300 [Radeon 9500 Pro] 
(Secondary)"
0x10020x4e66"ATI|RV350 NF [Radeon 9600] (Secondary)"
0x10020x4e67"ATI|Radeon R300 [FireGL X1] (Secondary)"
0x10020x4e68"ATI|Radeon R350 [Radeon 9800 Pro] 
(Secondary)"
0x10020x4e69"ATI|Radeon R350 [Radeon 9800] (Secondary)"
0x10020x4e6a"ATI|RV350 NJ [Radeon 9800 XT] (Secondary)"
0x10020x4e71"ATI|M10 NQ [Radeon Mobility 9600] 
(Secondary)"
0x10020x4f72"ATI|RV250 [Radeon 9000 Series]"
0x10020x4f73"ATI|Radeon RV250 [Radeon 9000 Series] 
(Secondary)"
0x10020x5154"ATI|R200 QT [Radeon 8500]"
0x10020x5155"ATI|R200 QU [Radeon 9100]"
0x10020x515f"ATI|ES1000"
0x10020x5461"ATI|M22 [Mobility Radeon X300]"
0x10020x"ATI|R430 GL PRO"
0x10020x5569"ATI|R423 UI [Radeon X800PRO (PCIE)] 
(Secondary)"
0x10020x556b"ATI|Radeon R423 UK (PCIE) [X800 SE] 
(Secondary)"
0x10020x556d"ATI|R430 [Radeon X800 XL] (PCIe) (Secondary)"
0x10020x556f"ATI|R430 [Radeon X800] (PCIE) (Secondary)"
0x10020x5571"ATI|R423GL-SE [FireGL V5100 (PCIE)] 
(Secondary)"
0x10020x5657"ATI|Radeon X550/X700 Series (RV410)
0x10020x5854"ATI|Radeon Xpress Series (RS480)"
0x10020x5874"ATI|Radeon Xpress Series (RS482)"
0x10020x5940"ATI|RV280 [Radeon 9200 PRO] (Secondary)"
0x10020x5941"ATI|RV280 [Radeon 9200] (Secondary)"
0x10020x5944"ATI|RV280 [Radeon 9200 SE (PCI)]"
0x10020x5a43"ATI|Radeon Xpress Series (RS400)"
0x10020x5a63"ATI|Radeon Xpress Series (RC410)"
0x10020x5b66"ATI|RV370X (RV370)"
0x10020x5b70"ATI|RV370 [Radeon X300SE]"
0x10020x5b72"ATI|RV380 [Radeon X600]"
0x10020x5b73"ATI|RV370 secondary [Sapphire X550 Silent]"
0x10020x5b74"ATI|RV370 5B64 [FireGL V3100 (PCIE)] 
(Secondary)"
0x10020x5d44"ATI|RV280 [Radeon 9200 SE] (Secondary)"
0x10020x5d45"ATI|RV280 [FireMV 2200 PCI] (secondary)"
0x10020x5d51"ATI|R480 GL 12P (R480)"
0x10020x5d6d"ATI|R480 [Radeon X850XT Platinum (PCIE)] 
(Secondary)"
0x10020x5d6f"ATI|R480 [Radeon X800 GTO (PCIE)] 
(Secondary)"
0x10020x5d72"ATI|R480 [Radeon X850XT (PCIE)] (Secondary)"
0x10020x5d77"ATI|R423 5F57 [Radeon X800XT (PCIE)] 
(Secondary)"
0x10020x5e49"ATI|RV410 [FireGL V3300]"
0x10020x5e6b"ATI|RV410 [Radeon X700 Pro (PCIE)] 
(Secondary)"
0x10020x5e6d"ATI|RV410 [Radeon X700 (PCIE)] (Secondary)"
0x10020x5f57"ATI|R423 [Radeon X800XT (PCIE)]"
0x10020x7c37"ATI|RV350 AQ [Radeon 9600 SE]"
0x103c0x31fb"HP|DL365 ATI ES1000 VGA controller"

Loïc M

Radeon driver : changes to the radeon(4x) man page

2008-05-14 Thread loic . mahe
Hello again,

To be consistent with the source code, I propose this update to the 
radeon(4x) man page, in order to
cover all chipsets supported by the driver.
I added RN50 (ES1000), RC410, RS480 and RS482.
I didn't modified the order in which the chipsets are listed on the man 
page, but it would perhaps be
logical to use a "natural" order, e.g. :
RN50
R100
RS100
RV100
R200
RS200
RV200
RS250
RV250
RV280
R300
RS300
R350
RS350
RV350
R360
and so on.

You can note that I added the mention "2D only" to the RS400, since 
radeon_driver.c
indicates that DRI is broken for that chipset.


--- radeon.man  Tue May 13 12:46:00 2008
+++ radeon.man.new  Wed May 14 13:37:10 2008
@@ -23,6 +23,9 @@
 .B radeon
 driver supports PCI and AGP video cards based on the following ATI chips
 .TP 12
+.B RN50
+ES1000 (2D only)
+.TP 12
 .B R100
 Radeon 7200
 .TP 12
@@ -54,7 +57,7 @@
 Radeon 9200 IGP
 .TP 12
 .B RS400
-Radeon XPRESS 200/200M IGP
+Radeon XPRESS 200/200M IGP (2D only)
 .TP 12
 .B RV280
 Radeon 9200PRO/9200/9200SE, M9+
@@ -80,6 +83,9 @@
 .B RV380
 Radeon X600, M24 (2d only)
 .TP 12
+.B RC410
+Radeon XPRESS 200/200M (2d only)
+.TP 12
 .B RV410
 Radeon X700, M26 PCIE (2d only)
 .TP 12
@@ -91,6 +97,12 @@
 .TP 12
 .B R480/R481
 Radeon X850 PCIE/AGP (2d only)
+.TP 12
+.B RS480
+Radeon XPRESS 200/200M (2d only)
+.TP 12
+.B RS482
+Radeon XPRESS 200/200M (2d only)

 .SH CONFIGURATION DETAILS
 Please refer to XF86Config(__filemansuffix__) for general configuration


Loïc Mahé - Toulouse, France

Radeon driver : some comments about the source code

2008-05-14 Thread loic . mahe
Last mail for today,

I checked ATI's fglrx source code and the pci.ids database and I found 
some discrepancies with
XFree86's code (radeon_probe.c) for the identification of the chipsets.
I would normally tell ATI is right, but ...

PCI_CHIP_RV380_3152 "ATI Radeon Mobility X300 (M24) 3152 (PCIE)"
=> fglrx : ATI MOBILITY RADEON X300 (M22 3152), so RV370 chipset (instead 
of RV380)
=> pci.ids : ATI|M22 [Radeon Mobility X300]

PCI_CHIP_RV360_AR   "ATI Radeon 9600XT AR (AGP)"
=> fglrx : ATI RADEON 9600 Series (RV350/RV360 4152)
=> pci.ids : ATI|RV350 AR [Radeon 9600]

PCI_CHIP_RV370_5462 "ATI Radeon Mobility X600 SE (M24C) 5462 (PCIE)"
=> fglrx and pci.ids agree, but according to the radeon(4x) man page, the 
M24 chipset is comparable to a
RV380 (instead of RV370)

PCI_CHIP_RV370_5B62 "ATI Radeon X600 (RV370) 5B62 (PCIE)"
=> pci.ids : ATI|RV380 [Radeon X600 (PCIE)]
=> according to the radeon(4x) man page, the X600 has a RV380 chipset 
(instead of RV370)
=> but fglrx also says : RADEON X600 Series (RV370 5B62) whereas other 
X600 are given as RV380

PCI_CHIP_RS350_7835 "ATI Radeon Mobility 9200 IGP 7835"
=> fglrx : MOBILITY RADEON 9000 IGPRL300MB (what is RL300 ???)

PCI_CHIP_RS300_5835 "ATI Radeon Mobility 9100 IGP (U3) 5835"
=> fglrx says : RS300M chipset ???

Moreover, the man page and source code should indicate clearly where the 
DRI is supported or not,
because RADEONPreInitDRI(), is not always clean with that.

Loïc Mahé - Toulouse, France

Re: problem with patch 4.7.99.14-4.7.99.15.diff.bz2 in PCI detection

2008-05-14 Thread Marc Aurele La France
On Tue, 13 May 2008, [EMAIL PROTECTED] wrote:

> I'am testing some Fujitsu-Siemens workstations which have the same video 
> chip :
> 102b:0522 Matrox Graphics, Inc. MGA G200e [Pilot] ServerEngines (SEP1)

> FSC TX150-S6
> FSC TX200-S4
> FSC RX100-S5

> The 3 computers have the same /etc/X11/XF86Config-4 file.

> I've noticed a problem with the TX150-S6 when XFree86 starts : the process 
> gets stuck in the
> PCI detection sequence on the first of 3 identical PCI chips (111d:8018).

> After several minutes (between 5 and 10 minutes, I've not measured 
> exactly), XFree finished the start
> sequence and works well after that.

Well, the code no longer assumes multifunction devices have a zero 
function, which means the PCI scan now looks at all combinations of 
device and function numbers.  So I would expect it to take slightly 
longer.  But not by _that_ much.

> These chips (111d:8018) are found only on the TX150-S6.

> On the 2 other computers, XFree86 starts without problem.

> Here is the lspci output for the TX150-S6. The chip which blocks the 
> XFree86 startup is prefixed
> by an asterisk. Attached is a detailled output of lspci (-vv).

[elided]

> During the "freeze", I noticed that lspci seems unhappy with what he 
> detects, since all
> device classes are detected as  (and chip revisions as ff). For 
> example, the video chip
> which normally is :
> 07:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200e [Pilot] 
> ServerEngines (SEP1) (rev 02)
> becomes :
> 07:00.0 Class : Matrox Graphics, Inc. MGA G200e [Pilot] ServerEngines 
> (SEP1) (rev ff)

> So the XFree86 PCI detection code seems to have a side effect on the 
> system.

It is not a good idea to run two PCI scans simultaneously.  And I can 
think of no way to prevent them.

> Please note that XFree86 and the Linux kernel show no warning or error 
> messages at
> all, the only problem is the very long start time for XFree.

> I tested a previous build of XFree86, including patches up to 
> 4.7.99.5-4.7.99.6.diff.bz2.
> This version doesn't show the problem. So I digged a little bit in the 
> patches released
> after this one and I found that some modifications were done at the PCI 
> level. I finally
> found that the problem is located in 4.7.99.14-4.7.99.15.diff.bz2, more 
> precisely in the
> xc/programs/Xserver/hw/xfree86/os-support/bus/Pci.c file (which includes 
> the PCI detection
> loop).
> I suppressed the modifications on Pci.c from the 
> 4.7.99.14-4.7.99.15.diff.bz2 patch, rebuilded
> XFree86 and the problem doesn't occur now.
> So it is related to the recent modifications on the PCI code.
> But I don't know where the problem exactly occurs in this file. I don't 
> have the time to track
> line by line and I had to give the computer to someone else for a couple 
> of weeks.

I suspect this is happening because these systems are capable of PCI 
Express.  Please try the attached patch when you get the system back.  It 
would be sufficient to check if the slowdown still occurs with the 
resulting scanpci binary.

Thanks.

Marc.

+--+--+
|  Marc Aurele La France   |  work:   1-780-492-9310  |
|  Academic Information and|  fax:1-780-492-1729  |
|Communications Technologies   |  email:  [EMAIL PROTECTED] |
|  352 General Services Building   +--+
|  University of Alberta   |  |
|  Edmonton, Alberta   |Standard disclaimers apply|
|  T6G 2H1 |  |
|  CANADA  |  |
+--+--+
XFree86 developer and VP.  ATI driver and X server internals.

Mahe.diff.gz
Description: Binary data