From: Alex Deucher Subject: Re: [Regression, post-rc2] Commit a5ee4eb7541 breaks OpenGL on RS780 (was: Re: Linux 2.6.34-rc3) Date: Thu, 1 Apr 2010 13:07:59 -0400 Message-ID: References: <201003302316.45651.rjw@sisk.pl> <201004010313.32920.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-pci-owner@vger.kernel.org To: Linus Torvalds Cc: "Rafael J. Wysocki" , Linux PCI , Greg KH , Clemens Ladisch , Linux Kernel Mailing List , Jesse Barnes , Alex Deucher , dri-devel@lists.sourceforge.net, stable@kernel.org List-Id: dri-devel@lists.freedesktop.org On Thu, Apr 1, 2010 at 12:29 PM, Linus Torvalds wrote: > > > On Thu, 1 Apr 2010, Rafael J. Wysocki wrote: >> >> OK, I've verified that partial revert (below) is sufficient. > > Hmm. Through the DRM merge I just did, this area actually conflicted,= and > the resolved version is now > > =A0 =A0 =A0 =A0if ((rdev->family >=3D CHIP_RV380) && > =A0 =A0 =A0 =A0 =A0 =A0(!(rdev->flags & RADEON_IS_IGP))) { > > which presumably also fixes your issue? > > [ Side note: somebody in the DRM tree seems to be way too used to LIS= P, > =A0and thinks that adding parenthesis always improves the code ;-] > heh, that's me. habit I guess, just to be sure. > However, I do suspect that we should probably revert the quirk regard= less > as being useless (ie it probably was related to those IGP chips that > apparently don't do MSI anyway). > > So the patch that reverts the quirk by Clemens (to replace it with > disabling MSI entirely when the AMD NB doesn't accept them) seems to = be a > good idea regardless, since it's apparently not just about gfx. Jesse= ? Clemems' "PCI quirk: RS780/RS880: disable MSI completely" patch is the right approach I think. Note that it's only devices hung off the int gfx pci to pci bridge that have broken MSI (gfx and audio). MSI works fine on the PCIE slots. I have a similar patch for rs400 chips on bug 15626: https://bugzilla.kernel.org/show_bug.cgi?id=3D15626 Alex > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Linus > > ---------------------------------------------------------------------= --------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > -- > _______________________________________________ > Dri-devel mailing list > Dri-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dri-devel >