[PATCH 35/49] drm/nouveau/ttm: don't fill in blank ttm debug callback
Christian König
christian.koenig at amd.com
Fri Jul 31 13:25:29 UTC 2020
Am 31.07.20 um 06:05 schrieb Dave Airlie:
> From: Dave Airlie <airlied at redhat.com>
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
Acked-by: Christian König <christian.koenig at amd.com>
> ---
> drivers/gpu/drm/nouveau/nouveau_ttm.c | 9 ---------
> 1 file changed, 9 deletions(-)
>
> diff --git a/drivers/gpu/drm/nouveau/nouveau_ttm.c b/drivers/gpu/drm/nouveau/nouveau_ttm.c
> index ed651d7679fe..1b9d9362132d 100644
> --- a/drivers/gpu/drm/nouveau/nouveau_ttm.c
> +++ b/drivers/gpu/drm/nouveau/nouveau_ttm.c
> @@ -37,12 +37,6 @@ nouveau_manager_del(struct ttm_mem_type_manager *man, struct ttm_mem_reg *reg)
> nouveau_mem_del(reg);
> }
>
> -static void
> -nouveau_manager_debug(struct ttm_mem_type_manager *man,
> - struct drm_printer *printer)
> -{
> -}
> -
> static int
> nouveau_vram_manager_new(struct ttm_mem_type_manager *man,
> struct ttm_buffer_object *bo,
> @@ -72,7 +66,6 @@ nouveau_vram_manager_new(struct ttm_mem_type_manager *man,
> const struct ttm_mem_type_manager_func nouveau_vram_manager = {
> .get_node = nouveau_vram_manager_new,
> .put_node = nouveau_manager_del,
> - .debug = nouveau_manager_debug,
> };
>
> static int
> @@ -96,7 +89,6 @@ nouveau_gart_manager_new(struct ttm_mem_type_manager *man,
> const struct ttm_mem_type_manager_func nouveau_gart_manager = {
> .get_node = nouveau_gart_manager_new,
> .put_node = nouveau_manager_del,
> - .debug = nouveau_manager_debug
> };
>
> static int
> @@ -129,7 +121,6 @@ nv04_gart_manager_new(struct ttm_mem_type_manager *man,
> const struct ttm_mem_type_manager_func nv04_gart_manager = {
> .get_node = nv04_gart_manager_new,
> .put_node = nouveau_manager_del,
> - .debug = nouveau_manager_debug
> };
>
> int
More information about the dri-devel
mailing list