drm/ttm: cleanup ttm_resource_compat
authorChristian König <christian.koenig@amd.com>
Mon, 30 Aug 2021 11:17:10 +0000 (13:17 +0200)
committerChristian König <christian.koenig@amd.com>
Fri, 3 Sep 2021 09:03:59 +0000 (11:03 +0200)
commit98cca519df6da699240403721f5d251ecf702b3b
treeae113aa456c459fa7c108c8a6696935179444b35
parent044e55b14657feb7522715ecec351990bd232ae0
drm/ttm: cleanup ttm_resource_compat

Move that function into the resource handling and remove an unused parameter.

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/20210831112110.113196-1-christian.koenig@amd.com
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_resource.c
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
include/drm/ttm/ttm_bo_api.h
include/drm/ttm/ttm_resource.h