[PATCH] drm/panfrost: Quiet shrinker messages
Robin Murphy
robin.murphy at arm.com
Tue Oct 8 15:13:54 UTC 2019
As brought up on IRC, logging a vague and unattributed message for a
normal and expected operation looks a bit spammy. Use a dev_* variant
to clarify it as a driver message, and downgrade the level to debug to
avoid cluttering up end users' logs.
Signed-off-by: Robin Murphy <robin.murphy at arm.com>
---
drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c b/drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c
index 458f0fa68111..d1c0bd81c9f7 100644
--- a/drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c
+++ b/drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c
@@ -74,7 +74,7 @@ panfrost_gem_shrinker_scan(struct shrinker *shrinker, struct shrink_control *sc)
mutex_unlock(&pfdev->shrinker_lock);
if (freed > 0)
- pr_info_ratelimited("Purging %lu bytes\n", freed << PAGE_SHIFT);
+ dev_dbg(pfdev->dev, "Purging %lu bytes\n", freed << PAGE_SHIFT);
return freed;
}
--
2.21.0.dirty
More information about the dri-devel
mailing list