drm/ttm: remove special handling for non GEM drivers
authorChristian König <christian.koenig@amd.com>
Sat, 17 Apr 2021 17:09:30 +0000 (19:09 +0200)
committerChristian König <christian.koenig@amd.com>
Fri, 23 Apr 2021 12:42:43 +0000 (14:42 +0200)
commitd02117f8efaa5fbc37437df1ae955a147a2a424a
treea4f349aa190caebd520bc8fa19d7fbcb83147f20
parent13ea9aa1e7d891e950230e82f1dd2c84e5debcff
drm/ttm: remove special handling for non GEM drivers

vmwgfx is the only driver actually using this. Move the handling into
the driver instead.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Zack Rusin <zackr@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210419092853.1605-1-christian.koenig@amd.com
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
include/drm/ttm/ttm_bo_api.h