From: Christian König Date: Fri, 13 Jun 2025 15:29:34 +0000 (+0200) Subject: drm/vmwgfx: drop printing the TTM refcount for debugging X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=026a60e3c1c55845bd9fdaa202dad81c3f95ae6b;p=thirdparty%2Flinux.git drm/vmwgfx: drop printing the TTM refcount for debugging That is something TTM internal which is about to get dropped. Signed-off-by: Christian König Reviewed-by: Ian Forbes Link: https://lore.kernel.org/r/20250616130726.22863-1-christian.koenig@amd.com --- diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_gem.c b/drivers/gpu/drm/vmwgfx/vmwgfx_gem.c index c55382167c1b6..7057d852951bd 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_gem.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_gem.c @@ -284,11 +284,10 @@ static void vmw_bo_print_info(int id, struct vmw_bo *bo, struct seq_file *m) seq_printf(m, "\t\t0x%08x: %12zu bytes %s, type = %s", id, bo->tbo.base.size, placement, type); - seq_printf(m, ", priority = %u, pin_count = %u, GEM refs = %d, TTM refs = %d", + seq_printf(m, ", priority = %u, pin_count = %u, GEM refs = %d", bo->tbo.priority, bo->tbo.pin_count, - kref_read(&bo->tbo.base.refcount), - kref_read(&bo->tbo.kref)); + kref_read(&bo->tbo.base.refcount)); seq_puts(m, "\n"); }