From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mika Kuoppala Subject: Re: [PATCH 1/2] drm/i915: Use pipe_config state to disable ilk+ pfit Date: Fri, 10 May 2013 16:08:05 +0300 Message-ID: <87haib3ruy.fsf@gaia.fi.intel.com> References: <1367962457-28951-1-git-send-email-daniel.vetter@ffwll.ch> <1368002191-6850-1-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 mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 893BCE5C0E for ; Fri, 10 May 2013 06:08:41 -0700 (PDT) In-Reply-To: <1368002191-6850-1-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: Intel Graphics Development Cc: Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org Daniel Vetter writes: > No more need to guard the write with a power well check on Haswell now > that we have proper pfit state readout: We can simply only clear the > pfit if it's actually on. > > This removes some duplication of knowledge between the haswell pfit > disable and pfit state readout code about. > > While at it extract a little helper for this. > > Signed-off-by: Daniel Vetter Reviewed-by: Mika Kuoppala