amdgpu_sync_wait
int amdgpu_sync_wait(struct amdgpu_sync *sync, bool intr);
r = amdgpu_sync_wait(&sync, true);