From: Chris Wilson Subject: Re: [PATCH] drm/i915: Enable FBC at Haswell. Date: Wed, 17 Apr 2013 16:42:40 +0100 Message-ID: <20130417154240.GD24068@cantiga.alporthouse.com> References: <1365457784-3412-2-git-send-email-rodrigo.vivi@gmail.com> <1366130024-14233-1-git-send-email-rodrigo.vivi@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 81B15E5CB5 for ; Wed, 17 Apr 2013 08:43:10 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1366130024-14233-1-git-send-email-rodrigo.vivi@gmail.com> 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: Rodrigo Vivi Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, Apr 16, 2013 at 01:33:44PM -0300, Rodrigo Vivi wrote: > This patch introduce Frame Buffer Compression (FBC) support for HSW. > It adds a new function haswell_enable_fbc to avoid getting > ironlake_enable_fbc messed with many IS_HASWELL checks. > = > v2: Fixes from Ville. > * Fix Plane. FBC is tied to primary plane A in HSW > * Fix DPFC initial write to avoid let trash on the register. > = > v3: Checking for bad plane on intel_update_fbc() as Chris suggested. > = > v4: Ville pointed out that according to BSpec FBC_CTL bits 0:3 must be 0. > = > Cc: Chris Wilson > Cc: Ville Syrj=E4l=E4 > Signed-off-by: Rodrigo Vivi I'm failing in sanity checking FBC on HSW due to lack of the appropriate hardware. I still believe we need a cooperative userspace to make best use of FBC, avoid known limitations and apply required workarounds. -Chris -- = Chris Wilson, Intel Open Source Technology Centre