Skip to content

Commit 026a60e

Browse files
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 <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
1 parent 3832dc4 commit 026a60e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/gpu/drm/vmwgfx/vmwgfx_gem.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,10 @@ static void vmw_bo_print_info(int id, struct vmw_bo *bo, struct seq_file *m)
284284

285285
seq_printf(m, "\t\t0x%08x: %12zu bytes %s, type = %s",
286286
id, bo->tbo.base.size, placement, type);
287-
seq_printf(m, ", priority = %u, pin_count = %u, GEM refs = %d, TTM refs = %d",
287+
seq_printf(m, ", priority = %u, pin_count = %u, GEM refs = %d",
288288
bo->tbo.priority,
289289
bo->tbo.pin_count,
290-
kref_read(&bo->tbo.base.refcount),
291-
kref_read(&bo->tbo.kref));
290+
kref_read(&bo->tbo.base.refcount));
292291
seq_puts(m, "\n");
293292
}
294293

0 commit comments

Comments
 (0)