From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Consolidate forcewake resetting to a single function Date: Thu, 13 Mar 2014 18:22:47 +0100 Message-ID: <20140313172247.GT30571@phenom.ffwll.local> References: <20140313115719.GB8998@nuc-i3427.alporthouse.com> <1394712029-715-1-git-send-email-chris@chris-wilson.co.uk> <874n32p6yg.fsf@gaia.fi.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f49.google.com (mail-ee0-f49.google.com [74.125.83.49]) by gabe.freedesktop.org (Postfix) with ESMTP id F3E61FB2D1 for ; Thu, 13 Mar 2014 10:22:51 -0700 (PDT) Received: by mail-ee0-f49.google.com with SMTP id c41so544993eek.22 for ; Thu, 13 Mar 2014 10:22:51 -0700 (PDT) Content-Disposition: inline In-Reply-To: <874n32p6yg.fsf@gaia.fi.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Mika Kuoppala Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, Mar 13, 2014 at 03:24:23PM +0200, Mika Kuoppala wrote: > Chris Wilson writes: > > > We have two paths that try to reset the forcewake registers back to > > known good values, with slightly different semantics and levels of > > paranoia. Combine the two by passing a parameter to either restore the > > forcewake status or to clear our bookkeeping, and raise the paranoia > > level to max. > > > > Signed-off-by: Chris Wilson > > Reviewed-by: Mika Kuoppala Queued for -next, thanks for the patch. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch