From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timo Aaltonen Subject: Re: [PATCH] drm/i915: Wait for all pending operations to the fb before disabling the pipe Date: Wed, 12 Sep 2012 18:23:47 +0300 Message-ID: <5050A903.2000403@ubuntu.com> References: <1347461831-18546-1-git-send-email-timo.aaltonen@canonical.com> <20120912150933.GA676@mannheim-rule.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by gabe.freedesktop.org (Postfix) with ESMTP id 30FC09E762 for ; Wed, 12 Sep 2012 08:23:51 -0700 (PDT) In-Reply-To: <20120912150933.GA676@mannheim-rule.local> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Jonathan Nieder Cc: intel-gfx@lists.freedesktop.org, stable@vger.kernel.org List-Id: intel-gfx@lists.freedesktop.org On 12.09.2012 18:09, Jonathan Nieder wrote: > Hi Timo, > > Timo Aaltonen wrote: > >> commit d698c826bb93663e4b349a78fbd30443654d37cd upstream. oops, script-fail.. that's the local branch sha, real one is further down (0f91128d88bbb8b0a8e7bb93df2c40680871d45a). >> Please pull this for v3.2.x, should be the last missing (kernel) piece >> for https://bugs.freedesktop.org/show_bug.cgi?id=48838 > [...] >> It should be more reliable to wait for the pending >> operations to complete first, even though we still have a window for >> userspace to submit a broken command buffer during the modeset. > > That sounds hazy --- is it tested? Well, these are usually hard to verify fixed. The commit is mentioned on fdo bugs 45413 and 48838, should fix some GPU hangs. > Presumably this is needed for 3.4.y and 3.5.y as well, right? Do you > know when the bad behavior was introduced? Does 3.0.y need the fix as > well? It's from 3.5-rc1, don't know when it was introduced. Maybe it would make sense for 3.4 at least. -- t