drm/amdgpu: add optional ring to amdgpu_sync_is_idle
authorChristian König <christian.koenig@amd.com>
Mon, 23 May 2016 12:26:39 +0000 (14:26 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:51:21 +0000 (14:51 -0400)
commit354202389614bc7c29b6fbb98677326fcc248055
tree90e63d4060d098cf33defe54f8ce5b071ffae64a
parenta7e7a93e5766dcd2929f8e2ca280967ef1572d27
drm/amdgpu: add optional ring to amdgpu_sync_is_idle

Check if the sync object is idle depending on the ring a submission works with.

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