From: Rodrigo Vivi Subject: [PATCH 0/6] Enabling Frame Buffer Compression (FBC) for IVB and HSW Date: Tue, 23 Apr 2013 14:52:15 -0300 Message-ID: <1366739541-4565-1-git-send-email-rodrigo.vivi@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-qa0-f48.google.com (mail-qa0-f48.google.com [209.85.216.48]) by gabe.freedesktop.org (Postfix) with ESMTP id 543E1E5DC7 for ; Tue, 23 Apr 2013 10:52:36 -0700 (PDT) Received: by mail-qa0-f48.google.com with SMTP id bn16so240406qab.7 for ; Tue, 23 Apr 2013 10:52:35 -0700 (PDT) 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 Hi all, this series enable Frame Buffer Compression at IVB and HSW. I decided to create a new function gen7_enable_fbc to avoid getting old function messed with many IS_IVYBRIDGE and IS_HASWELL checks. Also I decided to split the needed workarounds in separated patches to be easy to revert at any time if needed. On my local tests using a HSW ULT machine I could save around 0.1/0.2W. Up to 0.3W. And apparently stable enough. Zhang, Ouping confirmed "FBC saved more 0.3w on idle, 0.2w on video and 0.2w on game workload" on HSW. We decided to leave it disabled by default on IVB for now before a careful validation in order to avoid issues we faced with SNB previously. On HSW it is enabled by default. Chris Wilson required more interection with user space and Daniel Vetter has already giving some suggestions. This work still need to be done, but first lets enable fbc support using the current structure. As always, reviews, comments, bikeshedings, tests, etc are welcome. Thanks in advance, Rodrigo. Rodrigo Vivi (6): drm/i915: Enable FBC at Ivybridge. drm/i915: IVB FBC WaFbcAsynchFlipDisableFbcQueue drm/i915: IVB FBC WaFbcDisableDpfcClockGating drm/i915: Enable FBC at Haswell. drm/i915: HSW FBC WaFbcAsynchFlipDisableFbcQueue drm/i915: HSW FBC WaFbcDisableDpfcClockGating drivers/gpu/drm/i915/i915_drv.c | 2 ++ drivers/gpu/drm/i915/i915_reg.h | 16 +++++++++++ drivers/gpu/drm/i915/intel_pm.c | 61 +++++++++++++++++++++++++++++++++++++++-- 3 files changed, 76 insertions(+), 3 deletions(-) -- 1.8.1.4