]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/vmwgfx: drop printing the TTM refcount for debugging
authorChristian König <christian.koenig@amd.com>
Fri, 13 Jun 2025 15:29:34 +0000 (17:29 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 30 Jun 2025 11:35:44 +0000 (13:35 +0200)
That is something TTM internal which is about to get dropped.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Ian Forbes <ian.forbes@broadcom.com>
Link: https://lore.kernel.org/r/20250616130726.22863-1-christian.koenig@amd.com
drivers/gpu/drm/vmwgfx/vmwgfx_gem.c

index c55382167c1b614ca1f453410cce3c70da39acf6..7057d852951bd8fcb9aa7928fceffed27825e5ed 100644 (file)
@@ -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");
 }