diff options
author | Christian König <christian.koenig@amd.com> | 2017-08-01 05:27:36 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-08-17 15:46:08 -0400 |
commit | 27c7b9aeecd7c06a3b527795807c19a0bbe25c1e (patch) | |
tree | 6e1c15ace8b342f460455a36ea4a47d5906e82f6 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | ec681545afe5a448b43a2fe5c206ee48e19dabb3 (diff) |
drm/amdgpu: rename VM invalidated to moved
That better describes what happens here with the BO.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c index 75e7141c8de4..15d4a28d73bb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |||
@@ -825,7 +825,7 @@ static int amdgpu_bo_vm_update_pte(struct amdgpu_cs_parser *p) | |||
825 | 825 | ||
826 | } | 826 | } |
827 | 827 | ||
828 | r = amdgpu_vm_clear_invalids(adev, vm, &p->job->sync); | 828 | r = amdgpu_vm_clear_moved(adev, vm, &p->job->sync); |
829 | 829 | ||
830 | if (amdgpu_vm_debug && p->bo_list) { | 830 | if (amdgpu_vm_debug && p->bo_list) { |
831 | /* Invalidate all BOs to test for userspace bugs */ | 831 | /* Invalidate all BOs to test for userspace bugs */ |