From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Introduce FBC False Color for debug purposes. Date: Mon, 4 Aug 2014 10:14:45 +0200 Message-ID: <20140804081445.GM8727@phenom.ffwll.local> References: <20140801102749.GT4193@intel.com> <1406883885-6897-1-git-send-email-rodrigo.vivi@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-we0-f174.google.com (mail-we0-f174.google.com [74.125.82.174]) by gabe.freedesktop.org (Postfix) with ESMTP id 21A016E32C for ; Mon, 4 Aug 2014 01:14:34 -0700 (PDT) Received: by mail-we0-f174.google.com with SMTP id x48so7230342wes.5 for ; Mon, 04 Aug 2014 01:14:34 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1406883885-6897-1-git-send-email-rodrigo.vivi@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Rodrigo Vivi Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Aug 01, 2014 at 02:04:45AM -0700, Rodrigo Vivi wrote: > With this bit enabled, HW changes the color when compressing frames for > debug purposes. > = > ALthough the simple way to enable a single bit is over intel_reg_write, > this value is overwriten on next update_fbc so depending on the workload > it is not possible to set this bit with intel-gpu-tools. So this patch > introduces a persistent way to enable false color over debugfs. > = > v2: Use DEFINE_SIMPLE_ATTRIBUTE as Daniel suggested > v3: (Ville) only do false color for IVB+ since according to spec bit is > MBZ before IVB. > v4: We don't have FBC on valleyview nor on cherryview (Ben) > v5: s/!HAS_PCH_SPLIT/!HAS_FBC (Ville) > = > Cc: Ville Syrj=E4l=E4 > Reviewed-by: Ben Widawsky > Signed-off-by: Rodrigo Vivi Queued for -next, thanks for the patch. -Daniel -- = Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch