]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amdgpu: fence should be added to shared slot
authormonk.liu <monk.liu@amd.com>
Tue, 26 May 2015 07:03:45 +0000 (15:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Jun 2015 01:03:55 +0000 (21:03 -0400)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c

index 4d26b303b495c8f2aad28e4e2e311ebf1d65336c..fd28e890693e17cac5242ae5588553ab24ef3a92 100644 (file)
@@ -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);