drm/ttm: make TTM responsible for cleaning system only.
authorDave Airlie <airlied@redhat.com>
Tue, 4 Aug 2020 02:56:08 +0000 (12:56 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 6 Aug 2020 02:32:03 +0000 (12:32 +1000)
commit0cf0a7984268c64e906b63a96df3e331ca61f989
treed80bf1dda7f47d2cba366113ebaa3b00e98eb356
parent085097e5ae5e622358554ef773bccefb416b3df1
drm/ttm: make TTM responsible for cleaning system only.

Drivers should all be cleaning up their memory managers
themselves now, so let the core just clean the system one up.

Remove the legacy cleaning interface.

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200804025632.3868079-36-airlied@gmail.com
drivers/gpu/drm/ttm/ttm_bo.c
include/drm/ttm/ttm_bo_api.h
include/drm/ttm/ttm_bo_driver.h