OSDN Git Service

drm/vmwgfx/gmrid: don't provide pointless ttm debug callback
authorDave Airlie <airlied@redhat.com>
Tue, 4 Aug 2020 02:55:43 +0000 (12:55 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 6 Aug 2020 02:16:45 +0000 (12:16 +1000)
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200804025632.3868079-11-airlied@gmail.com
drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c

index 4a76fc7..fb1bf4d 100644 (file)
@@ -137,16 +137,9 @@ static int vmw_gmrid_man_takedown(struct ttm_mem_type_manager *man)
        return 0;
 }
 
-static void vmw_gmrid_man_debug(struct ttm_mem_type_manager *man,
-                               struct drm_printer *printer)
-{
-       drm_printf(printer, "No debug info available for the GMR id manager\n");
-}
-
 const struct ttm_mem_type_manager_func vmw_gmrid_manager_func = {
        .init = vmw_gmrid_man_init,
        .takedown = vmw_gmrid_man_takedown,
        .get_node = vmw_gmrid_man_get_node,
        .put_node = vmw_gmrid_man_put_node,
-       .debug = vmw_gmrid_man_debug
 };