drm/ttm: partial revert "cleanup ttm_tt_(unbind|destroy)" v3
authorChristian König <christian.koenig@amd.com>
Thu, 21 Jul 2016 10:18:19 +0000 (12:18 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Jul 2016 18:37:04 +0000 (14:37 -0400)
commit2ff2bf1e5cd731e26293e08404f06bc8314480dc
treef0a09c5925802e86f24434b1c20b8fa743b0ed15
parentbbec97aae660adafa5208c5defc54e3cbbe6b129
drm/ttm: partial revert "cleanup ttm_tt_(unbind|destroy)" v3

We still need to unbind explicitly during a move.

This partial reverts commit ff20caa0bcbfef9f7686f8d1868a3b990921afd6.

v2: remove unnecessary check and unused variable
v3: fix typo in commit message

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo_util.c
drivers/gpu/drm/ttm/ttm_tt.c
include/drm/ttm/ttm_bo_driver.h