Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian K?nig <christian.koenig@amd.com>
Reviewed-by: Jammy Zhou <jammy.zhou@amd.com>
if (r)
goto err1;
- r = amdgpu_fence_wait(ib.fence, false);
+ r = fence_wait(&ib.fence->base, false);
if (r) {
DRM_ERROR("amdgpu: fence wait failed (%d).\n", r);
goto err1;
if (r)
goto err1;
- r = amdgpu_fence_wait(ib.fence, false);
+ r = fence_wait(&ib.fence->base, false);
if (r) {
DRM_ERROR("amdgpu: fence wait failed (%d).\n", r);
goto err1;
if (r)
goto err1;
- r = amdgpu_fence_wait(ib.fence, false);
+ r = fence_wait(&ib.fence->base, false);
if (r) {
DRM_ERROR("amdgpu: fence wait failed (%d).\n", r);
goto err1;