From: Chris Wilson Subject: Re: [PATCH 2/3] drm/i915: run the full gem hw init after a gpu reset Date: Wed, 3 Jul 2013 09:43:32 +0100 Message-ID: <20130703084332.GJ4573@cantiga.alporthouse.com> References: <1372838878-11153-1-git-send-email-daniel.vetter@ffwll.ch> <1372838878-11153-2-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (smtp.fireflyinternet.com [109.228.6.236]) by gabe.freedesktop.org (Postfix) with ESMTP id 6BA3EE5F65 for ; Wed, 3 Jul 2013 01:43:36 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1372838878-11153-2-git-send-email-daniel.vetter@ffwll.ch> 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: Daniel Vetter Cc: Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Wed, Jul 03, 2013 at 10:07:57AM +0200, Daniel Vetter wrote: > Otherwise we can't resurrect the bsd ring on gm45 completely. I've > discovered this trick because module reload recovered the bsd ring, > making it clear that it's not an issue with the hw or our reset code. > > While touching the code update the comment to be a bit clearer about > what we actually want to reinitialize and which pieces we better leave > untouched. > > Note: In my opinion this is not a stable candidate - historically such > seemingly correct looking changes in the reset code have lead to big > heaps of scary hilarity. At the expense of leaking all allocated state from earlier. The magic ingredient here I guess is the resetting of the HWS. -Chris -- Chris Wilson, Intel Open Source Technology Centre