drm/amdgpu: deal with foreign fences in amdgpu_sync
authorChristian König <christian.koenig@amd.com>
Mon, 6 Jul 2015 20:06:40 +0000 (22:06 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:50:13 +0000 (16:50 -0400)
commit91e1a5207edec9e4f888e44478a9a254186e0ba8
treed03a1e06f744981034fb67eeb15b8d1644816278
parent0b492a4c92050862a9780b941d52c05923fcd669
drm/amdgpu: deal with foreign fences in amdgpu_sync

This also requires some error handling from the callers of that function.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c