From: Ben Widawsky Subject: Re: [PATCH] drm/i915: Re-enable rc6 w/fix Date: Mon, 14 Mar 2011 22:00:20 -0700 Message-ID: <20110315050020.GA3864@lundgren.kumite> References: <1300164901-4937-1-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cloud01.chad-versace.us (184-106-247-128.static.cloud-ips.com [184.106.247.128]) by gabe.freedesktop.org (Postfix) with ESMTP id 7F2779E710 for ; Mon, 14 Mar 2011 23:03:03 -0700 (PDT) Received: from lundgren.kumite (unknown [67.208.96.87]) by cloud01.chad-versace.us (Postfix) with ESMTPSA id 9DA7A1D4008 for ; Tue, 15 Mar 2011 06:03:28 +0000 (UTC) Content-Disposition: inline In-Reply-To: <1300164901-4937-1-git-send-email-ben@bwidawsk.net> 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: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Mon, Mar 14, 2011 at 09:55:01PM -0700, Ben Widawsky wrote: > This fixes a race condition with MI_SET_CONTEXT and setting of the > PWRCTXA register. If PWRCTXA ends up getting set before MI_SET_CONTEXT > completes, it's possible that the system will enter rc6, and try to > return to the default render context, which if unset, could cause a GPU > hang > > Resolve https://bugzilla.kernel.org/show_bug.cgi?id=28582 I'm still waiting for feedback on bugzilla if this patch works like the previous. Just submitting it here for review while we wait...