Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760805AbZJMUDw (ORCPT ); Tue, 13 Oct 2009 16:03:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753294AbZJMUDv (ORCPT ); Tue, 13 Oct 2009 16:03:51 -0400 Received: from mail-gx0-f212.google.com ([209.85.217.212]:63295 "EHLO mail-gx0-f212.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752949AbZJMUDu convert rfc822-to-8bit (ORCPT ); Tue, 13 Oct 2009 16:03:50 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=SzV1S8x8k9va04/2k77i9SoTnZDriSXRuGdrBd1PkKTA1T+mPZqFvMLQ87UXgEbuqC tZjbNPVchZjctbEHI3EZ/82b0TYM1rEec9aiKm7t4Pa6s10IxPxp62OVRPyrIvzTFVht cgXJ1hSx43r5KFS1WgsNbPp4+v2aCmgmiODw0= MIME-Version: 1.0 In-Reply-To: <20091013122515.5074d7f3@jbarnes-g45> References: <20091008103620.5e5aae66@jbarnes-g45> <20091010204106.GA8251@mit.edu> <20091012095438.1e82b54f@jbarnes-g45> <20091012184651.GA4603@Pilar.aei.mpg.de> <20091012120510.16bd1194@jbarnes-g45> <20091013122515.5074d7f3@jbarnes-g45> Date: Tue, 13 Oct 2009 22:03:14 +0200 Message-ID: Subject: Re: 2.6.32 regression (bisected): Video tearing/glitching with T400 laptops From: Fabio Comolli To: Jesse Barnes Cc: "Carlos R. Mafra" , Theodore Tso , Eric Anholt , linux-kernel@vger.kernel.org, Keith Packard Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4518 Lines: 122 Hi. On Tue, Oct 13, 2009 at 9:25 PM, Jesse Barnes wrote: > The patch below should have only affected GM45 chipsets, what chipset > do you have (lspci -vvv -s 02.0 should tell you). > Very strange because it's a 915: 00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device 82d9 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- [disabled] Capabilities: [d0] Power Management version 2 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Kernel driver in use: i915 > Sounds like this patch was good enough for both you and Carlos, but not > sufficient for Ted or Keith.  What resolution are you running? It's an Asus eeePC 900 @ 1024x600 BTW, the patch really helps, usually I experienced problems after 3/4 minutes of work and sometimes I couldn't recover form the blank screen. Now it's more than 1h 30' I'm at the laptop and everything is perfect. > > Jesse > Regards, Fabio > On Tue, 13 Oct 2009 21:19:32 +0200 > Fabio Comolli wrote: > >> Hi Jesse. >> Sorry to jump in but I also had issues with -32rc (i915 chip) and this >> patch seems to have resolved all problems. >> >> I don't know how to describe in english what happened to my desktop >> but probably "glitches" and "tearings" could be the correct words. >> Also sometimes the screen went blank and needed to switch to terminal >> console and back to return to the normal X screen. >> >> Nothing in the logs, neither messages nor Xorg.0.log. >> >> Regards, >> Fabio >> >> >> >> On Mon, Oct 12, 2009 at 9:05 PM, Jesse Barnes >> wrote: >> > On Mon, 12 Oct 2009 20:46:51 +0200 >> > "Carlos R. Mafra" wrote: >> > >> >> On Mon 12.Oct'09 at  9:54:38 -0700, Jesse Barnes wrote: >> >> > > >> >> > > Nope, unfortunately, it's not helping on my T400 laptop.  I'm >> >> > > still getting huge amounts of glitching and tearing with this >> >> > > patch applied against -rc3. >> >> > > >> >> > > What I'm using for now to fix up my system is this patch. >> >> > > >> >> > >> >> > How about this one?  I have one more idea to try out if this >> >> > doesn't work (hacking on it now). >> >> >> >> I was also experiencing something very similar to Theodore's bug >> >> report and, at least for me, the patch below fixed the issue (the >> >> previous one also had no effect). >> > >> > Cool, good to hear.  Hopefully Ted and Keith will confirm too. >> > >> > -- >> > Jesse Barnes, Intel Open Source Technology Center >> > >> > diff --git a/drivers/gpu/drm/i915/intel_display.c >> > b/drivers/gpu/drm/i915/intel_display.c index 7a5fb79..1451945 100644 >> > --- a/drivers/gpu/drm/i915/intel_display.c >> > +++ b/drivers/gpu/drm/i915/intel_display.c >> > @@ -1047,7 +1047,7 @@ static void g4x_enable_fbc(struct drm_crtc >> > *crtc, unsigned long interval) dev_priv->cfb_fence = >> > obj_priv->fence_reg; dev_priv->cfb_plane = intel_crtc->plane; >> > >> > -       dpfc_ctl = plane | DPFC_SR_EN | DPFC_CTL_LIMIT_1X; >> > +       dpfc_ctl = plane | DPFC_CTL_LIMIT_1X; >> >        if (obj_priv->tiling_mode != I915_TILING_NONE) { >> >                dpfc_ctl |= DPFC_CTL_FENCE_EN | dev_priv->cfb_fence; >> >                I915_WRITE(DPFC_CHICKEN, DPFC_HT_MODIFY); >> > -- >> > To unsubscribe from this list: send the line "unsubscribe >> > linux-kernel" in the body of a message to majordomo@vger.kernel.org >> > More majordomo info at  http://vger.kernel.org/majordomo-info.html >> > Please read the FAQ at  http://www.tux.org/lkml/ >> > >> > > > -- > Jesse Barnes, Intel Open Source Technology Center > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/