Commit aeb0aeac authored by monk.liu's avatar monk.liu Committed by Alex Deucher

drm/amdgpu: fence should be added to shared slot

Signed-off-by: default avatarmonk.liu <monk.liu@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarjammy zhou <jammy.zhou@amd.com>
parent cfe2c978
......@@ -344,7 +344,7 @@ static int amdgpu_vm_clear_bo(struct amdgpu_device *adev,
if (r)
goto error_free;
amdgpu_bo_fence(bo, ib.fence, false);
amdgpu_bo_fence(bo, ib.fence, true);
error_free:
amdgpu_ib_free(adev, &ib);
......@@ -462,7 +462,7 @@ int amdgpu_vm_update_page_directory(struct amdgpu_device *adev,
amdgpu_ib_free(adev, &ib);
return r;
}
amdgpu_bo_fence(pd, ib.fence, false);
amdgpu_bo_fence(pd, ib.fence, true);
}
amdgpu_ib_free(adev, &ib);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment