drm/ttm: keep a reference to transfer pipelined BOs
authorChristian König <christian.koenig@amd.com>
Fri, 9 Mar 2018 12:39:47 +0000 (13:39 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:11 +0000 (13:43 -0500)
commit5452cf44d691edada697108f883c78edb40dc281
tree1dbe26c0f8c37b769a5b2d7b97f4e00ca472a4ff
parent89a111476676add9ded0286fc7606508b5efb101
drm/ttm: keep a reference to transfer pipelined BOs

Make sure the transfered BO is never destroy before the transfer BO.

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