drm/ttm: add ttm_bo_pipeline_gutting
authorChristian König <christian.koenig@amd.com>
Tue, 20 Feb 2018 14:35:21 +0000 (15:35 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Mar 2018 19:38:27 +0000 (14:38 -0500)
commit5d95109815493e273a2ef9010df0939aa3cfe10f
tree69dbd8e553135d0d6b6c7868d16d42238d65bbe4
parent48527e5296edc7b952fb2c1c40fd8c388cc935ed
drm/ttm: add ttm_bo_pipeline_gutting

Allows us to gut a BO of it's backing store when the driver says that it
isn't needed any more.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Roger He <Hongbo.He@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_bo_util.c
include/drm/ttm/ttm_bo_driver.h