From owner-freebsd-x11@FreeBSD.ORG Mon Oct 13 14:44:17 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E959A1065695 for ; Mon, 13 Oct 2008 14:44:17 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id ADABD8FC1C for ; Mon, 13 Oct 2008 14:44:17 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m9DEhvK9002684 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Oct 2008 10:43:57 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Matt Dawson In-Reply-To: <200810101853.57259.matt@chronos.org.uk> References: <1223134762.1619.32.camel@wombat.2hip.net> <200810101853.57259.matt@chronos.org.uk> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-6VOqu2+CvdSX3eXw87zl" Organization: FreeBSD Date: Fri, 10 Oct 2008 14:30:56 -0400 Message-Id: <1223663456.65664.23.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11 Subject: Re: drm MSI support X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 14:44:18 -0000 --=-6VOqu2+CvdSX3eXw87zl Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2008-10-10 at 18:53 +0100, Matt Dawson wrote: > On Saturday 04 October 2008 16:39:21 Robert Noland wrote: > > When drm loads it will also report that it has enabled MSI. > > > > Please send me reports of what chips do/don't work. >=20 > Yep, looking good on an X850XT: >=20 > drm0: on vgapci0 > info: [drm] MSI enabled 1 message(s) > info: [drm] Setting GART location based on new memory map > info: [drm] Loading R400 Microcode > info: [drm] Num pipes: 4 > info: [drm] writeback test succeeded in 1 usecs > drm0: [ITHREAD] >=20 > Pre-MSI > 8800 FPS in texcyl demo > 4800 FPS in glxgears > 602 FPS in terrain demo > glxs completed OK >=20 > With MSI > 7450 FPS in texcyl demo > 4450 FPS in glxgears > 598 FPS in terrain demo > glxs completed OK I assume that you are using drm-msi-3.patch? I'm a little curious why performance seems slightly lower with msi. We do have to re-arm the interrupt on radeons. Is the interrupt shared in the non-msi case? > vgapci0@pci0:3:0:0: class=3D0x030000 card=3D0x0b121002 chip=3D0x5d521= 002=20 > rev=3D0x00 hdr=3D0x00 > vendor =3D 'ATI Technologies Inc' > device =3D 'Radeon X850 Series' > class =3D display > subclass =3D VGA > cap 01[50] =3D powerspec 2 supports D0 D1 D2 D3 current D0 > cap 10[58] =3D PCI-Express 1 endpoint > cap 05[80] =3D MSI supports 1 message, 64 bit enabled with 1 message > vgapci1@pci0:3:0:1: class=3D0x038000 card=3D0x0b131002 chip=3D0x5d721= 002=20 > rev=3D0x00 hdr=3D0x00 > vendor =3D 'ATI Technologies Inc' > device =3D 'Radeon X850 Series - Secondary' > class =3D display > cap 01[50] =3D powerspec 2 supports D0 D1 D2 D3 current D0 > cap 10[58] =3D PCI-Express 1 endpoint >=20 > Interrupt request lines: > 0 (root0) > 1 (atkbd0) > 3 (root0) > 4 (uart0) > 5 (root0) > 6 (fdc0) > 7 (ppc0) > 8 (atrtc0) > 9 (acpi0) > 10-11 (root0) > 12 (psm0) > 13 (root0) > 14 (ata0) > 15 (ata1) > 16-19 (root0) > 20 (atapci2) > 21 (ohci0) > 22 (ehci0) > 23 (atapci1) > 256 (vgapci0) >=20 > Anything else needed or is that enough? I've only tried the X850 out of a= ll of=20 > my cards, as only this machine has a -CURRENT installed. Also hanging aro= und=20 > are the Xpress 200 (which doesn't show MSI support in pciconf -lvc so I t= hink=20 > it may be a pointless exercise), a 9200 and a 9700Pro. If you think it's = worth=20 > it, I'll set up a -CURRENT on the AGP box and test these. Yes, MSI seems to only be available on PCI-E radeons, so the only point of testing on these cards is to ensure nothing is broken. > Sorry for the delay. I had to set up -CURRENT on this box as it looks lik= e it=20 > will be handy to test these Radeons from time to time. Yes, particularly for newer chips being on -CURRENT is going to be helpful. I can make patches for STABLE in most cases, but I'm already working with several different repos / code branches, so the quickest best way to get the new bling is going to be on -CURRENT. robert. --=-6VOqu2+CvdSX3eXw87zl Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjvn2AACgkQM4TrQ4qfRONQIgCeLKjo4OXf5YtPXxfn/2YpJkir AsIAnRBFaZ5cUVYxTXS8yMP18h5uRUCh =Bhwr -----END PGP SIGNATURE----- --=-6VOqu2+CvdSX3eXw87zl--