]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/radeon: use ttm_resource_manager_debug
authorChristian König <christian.koenig@amd.com>
Tue, 20 Jul 2021 08:56:44 +0000 (10:56 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 24 Jan 2022 10:23:48 +0000 (11:23 +0100)
Instead of calling the debug operation directly.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211124124430.20859-8-christian.koenig@amd.com
drivers/gpu/drm/radeon/radeon_ttm.c

index 11b21d6055842ff3037e7c8daaeab1c11c8a66e0..0d1283cdc8fb6a2ef3d97de4d4ce4f9efc21e8b1 100644 (file)
@@ -802,7 +802,7 @@ static int radeon_mm_vram_dump_table_show(struct seq_file *m, void *unused)
                                                            TTM_PL_VRAM);
        struct drm_printer p = drm_seq_file_printer(m);
 
-       man->func->debug(man, &p);
+       ttm_resource_manager_debug(man, &p);
        return 0;
 }
 
@@ -820,7 +820,7 @@ static int radeon_mm_gtt_dump_table_show(struct seq_file *m, void *unused)
                                                            TTM_PL_TT);
        struct drm_printer p = drm_seq_file_printer(m);
 
-       man->func->debug(man, &p);
+       ttm_resource_manager_debug(man, &p);
        return 0;
 }