From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Demote drop_caches_set print Date: Wed, 6 Nov 2013 08:35:46 +0100 Message-ID: <20131106073546.GH1775@phenom.ffwll.local> References: <1383699698-4973-1-git-send-email-benjamin.widawsky@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f52.google.com (mail-ee0-f52.google.com [74.125.83.52]) by gabe.freedesktop.org (Postfix) with ESMTP id 172281116E1 for ; Tue, 5 Nov 2013 23:36:25 -0800 (PST) Received: by mail-ee0-f52.google.com with SMTP id e49so2335542eek.11 for ; Tue, 05 Nov 2013 23:35:17 -0800 (PST) Content-Disposition: inline In-Reply-To: <1383699698-4973-1-git-send-email-benjamin.widawsky@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Ben Widawsky Cc: Daniel Vetter , Intel GFX , Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org On Tue, Nov 05, 2013 at 05:01:38PM -0800, Ben Widawsky wrote: > Many tests call this ad naseum now (in an infinite loop, very often). > It clutters the logs. Actually, I'd rather drop it completely... Dropping it completely seems like the right solutions due to those "drop caches in an infinite loop" kind of tests. -Daniel > > Cc: Daniel Vetter > Cc: Chris Wilson > Signed-off-by: Ben Widawsky > --- > drivers/gpu/drm/i915/i915_debugfs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c > index 7008aac..d24e7d1 100644 > --- a/drivers/gpu/drm/i915/i915_debugfs.c > +++ b/drivers/gpu/drm/i915/i915_debugfs.c > @@ -2657,7 +2657,7 @@ i915_drop_caches_set(void *data, u64 val) > struct i915_vma *vma, *x; > int ret; > > - DRM_DEBUG_DRIVER("Dropping caches: 0x%08llx\n", val); > + DRM_DEBUG("Dropping caches: 0x%08llx\n", val); > > /* No need to check and wait for gpu resets, only libdrm auto-restarts > * on ioctls on -EAGAIN. */ > -- > 1.8.4.2 > -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch