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_vm.h | |
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_vm.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h index 95e5e81e1026..a740b57e9eee 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |||
@@ -129,7 +129,7 @@ struct amdgpu_vm { | |||
129 | spinlock_t status_lock; | 129 | spinlock_t status_lock; |
130 | 130 | ||
131 | /* BOs moved, but not yet updated in the PT */ | 131 | /* BOs moved, but not yet updated in the PT */ |
132 | struct list_head invalidated; | 132 | struct list_head moved; |
133 | 133 | ||
134 | /* BOs cleared in the PT because of a move */ | 134 | /* BOs cleared in the PT because of a move */ |
135 | struct list_head cleared; | 135 | struct list_head cleared; |
@@ -247,8 +247,8 @@ int amdgpu_vm_update_directories(struct amdgpu_device *adev, | |||
247 | int amdgpu_vm_clear_freed(struct amdgpu_device *adev, | 247 | int amdgpu_vm_clear_freed(struct amdgpu_device *adev, |
248 | struct amdgpu_vm *vm, | 248 | struct amdgpu_vm *vm, |
249 | struct dma_fence **fence); | 249 | struct dma_fence **fence); |
250 | int amdgpu_vm_clear_invalids(struct amdgpu_device *adev, struct amdgpu_vm *vm, | 250 | int amdgpu_vm_clear_moved(struct amdgpu_device *adev, struct amdgpu_vm *vm, |
251 | struct amdgpu_sync *sync); | 251 | struct amdgpu_sync *sync); |
252 | int amdgpu_vm_bo_update(struct amdgpu_device *adev, | 252 | int amdgpu_vm_bo_update(struct amdgpu_device *adev, |
253 | struct amdgpu_bo_va *bo_va, | 253 | struct amdgpu_bo_va *bo_va, |
254 | bool clear); | 254 | bool clear); |