From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Print obj->frontbuffer_bits in debugfs output Date: Wed, 18 Jun 2014 18:00:26 +0200 Message-ID: <20140618160026.GM5821@phenom.ffwll.local> References: <1403092757-31421-17-git-send-email-daniel.vetter@ffwll.ch> <1403095609-20216-1-git-send-email-daniel.vetter@ffwll.ch> <20140618145020.GO31023@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by gabe.freedesktop.org (Postfix) with ESMTP id 504766E3DA for ; Wed, 18 Jun 2014 09:00:34 -0700 (PDT) Received: by mail-wi0-f182.google.com with SMTP id bs8so1411093wib.15 for ; Wed, 18 Jun 2014 09:00:33 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20140618145020.GO31023@nuc-i3427.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Chris Wilson , Daniel Vetter , Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Wed, Jun 18, 2014 at 03:50:20PM +0100, Chris Wilson wrote: > On Wed, Jun 18, 2014 at 02:46:49PM +0200, Daniel Vetter wrote: > > Can be useful to figure out imbalances and bugs in the frontbuffer > > tracking. > > > > Signed-off-by: Daniel Vetter > > Reviewed-by: Chris Wilson > > I don't think this will be useful for error state. All the failure modes > here I think relate to display coherency, unless you can think of > something else? No, should really only be relevant for display coherency bugs, not unhappy gpus. I think the biggest risk there is that flushing at inopportune times might upset the hardware. But since these operations happen at few times per frame we can't dump a tracing stream of debug noise by default. So nothing to add here until we have dynamic debugging or some other means for more fine-grained debug logging. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch