drm/amdgpu: use a sync object for VMID fences v2
authorChristian König <christian.koenig@amd.com>
Mon, 15 Feb 2016 11:33:02 +0000 (12:33 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 00:19:16 +0000 (20:19 -0400)
commit832a902f9433b812f829e9f2257daf5d518cf0de
treedd5f85355fc863be19554e4aed7e56694be1f392
parentbcb1ba35a87be34d1312f6e050f1b5cc4d32f096
drm/amdgpu: use a sync object for VMID fences v2

v2: rebase & cleanup

This way we can store more than one fence as user for each VMID.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com> (v1)
Reviewed-by: Chunming Zhou <david1.zhou@amd.com> (v1)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c