From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH] drm/i915: encapsulate forcewake in dev_priv Date: Tue, 13 Sep 2011 23:25:46 +0100 Message-ID: References: <1315951648-5380-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 mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CC329F4CC for ; Tue, 13 Sep 2011 15:25:50 -0700 (PDT) In-Reply-To: <1315951648-5380-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 Cc: Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org On Tue, 13 Sep 2011 15:07:28 -0700, Ben Widawsky wrote: > I had this lying around and forgot to submit it. I feel it makes the > forcewake stuff slightly cleaner, but this is only cosmetic. > > Signed-off-by: Ben Widawsky I like it as it makes it clearer the capability we are testing for. But when to use INTEL_INFO and when to set derived bits on dev_priv? That is the question. Reviewed-by: Chris Wilson -Chris -- Chris Wilson, Intel Open Source Technology Centre