drm/amdgpu: fix no sync_wait in copy_buffer
authorChunming Zhou <david1.zhou@amd.com>
Tue, 25 Aug 2015 07:12:26 +0000 (15:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Aug 2015 14:53:48 +0000 (10:53 -0400)
commit9066b0c318589f47b754a3def4fe8ec4688dc21a
treef03792a740dc9c9eb87dc9bb50ef9085d8ed6fe7
parent3c62338c26bf2677c8285b406cd769b92ee0dc10
drm/amdgpu: fix no sync_wait in copy_buffer

when eviction is happening, if don't handle
dependency, then the fence could be dead off.

Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Christian K?nig <christian.koenig@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c