diff options
author | Christian König <christian.koenig@amd.com> | 2016-01-18 11:01:42 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-02-10 14:16:57 -0500 |
commit | 94dd0a4ae0b1af997b1f45793e5fd5b47f4ffc18 (patch) | |
tree | 4752f0bba41887463fb60b08b5cd7912626a9dc3 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 8d0a7cea824a2784150ef7f25a1e88f18a2a8f69 (diff) |
drm/amdgpu: merge vm_grab_id and vm_fence v2
No need for an extra function any more.
v2: comment cleanups
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Acked-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.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index edfaae439b76..43b48eb6cf6e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -956,13 +956,10 @@ void amdgpu_vm_get_pt_bos(struct amdgpu_vm *vm, struct list_head *duplicates); | |||
956 | void amdgpu_vm_move_pt_bos_in_lru(struct amdgpu_device *adev, | 956 | void amdgpu_vm_move_pt_bos_in_lru(struct amdgpu_device *adev, |
957 | struct amdgpu_vm *vm); | 957 | struct amdgpu_vm *vm); |
958 | int amdgpu_vm_grab_id(struct amdgpu_vm *vm, struct amdgpu_ring *ring, | 958 | int amdgpu_vm_grab_id(struct amdgpu_vm *vm, struct amdgpu_ring *ring, |
959 | struct amdgpu_sync *sync); | 959 | struct amdgpu_sync *sync, struct fence *fence); |
960 | void amdgpu_vm_flush(struct amdgpu_ring *ring, | 960 | void amdgpu_vm_flush(struct amdgpu_ring *ring, |
961 | struct amdgpu_vm *vm, | 961 | struct amdgpu_vm *vm, |
962 | struct fence *updates); | 962 | struct fence *updates); |
963 | void amdgpu_vm_fence(struct amdgpu_device *adev, | ||
964 | struct amdgpu_vm *vm, | ||
965 | struct fence *fence); | ||
966 | uint64_t amdgpu_vm_map_gart(struct amdgpu_device *adev, uint64_t addr); | 963 | uint64_t amdgpu_vm_map_gart(struct amdgpu_device *adev, uint64_t addr); |
967 | int amdgpu_vm_update_page_directory(struct amdgpu_device *adev, | 964 | int amdgpu_vm_update_page_directory(struct amdgpu_device *adev, |
968 | struct amdgpu_vm *vm); | 965 | struct amdgpu_vm *vm); |