drm/amdgpu: fence should be added to shared slot

Signed-off-by: monk.liu <monk.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: jammy zhou <jammy.zhou@amd.com>
Tento commit je obsažen v:
monk.liu
2015-05-26 15:03:45 +08:00
odevzdal Alex Deucher
rodič cfe2c97807
revize aeb0aeac2e

Zobrazit soubor

@@ -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);