aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_object.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
index 8255034d73eb..3e785ed3cb4b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
@@ -156,19 +156,19 @@ int amdgpu_bo_get_metadata(struct amdgpu_bo *bo, void *buffer,
156void amdgpu_bo_move_notify(struct ttm_buffer_object *bo, 156void amdgpu_bo_move_notify(struct ttm_buffer_object *bo,
157 struct ttm_mem_reg *new_mem); 157 struct ttm_mem_reg *new_mem);
158int amdgpu_bo_fault_reserve_notify(struct ttm_buffer_object *bo); 158int amdgpu_bo_fault_reserve_notify(struct ttm_buffer_object *bo);
159void amdgpu_bo_fence(struct amdgpu_bo *bo, struct fence *fence, 159void amdgpu_bo_fence(struct amdgpu_bo *bo, struct dma_fence *fence,
160 bool shared); 160 bool shared);
161u64 amdgpu_bo_gpu_offset(struct amdgpu_bo *bo); 161u64 amdgpu_bo_gpu_offset(struct amdgpu_bo *bo);
162int amdgpu_bo_backup_to_shadow(struct amdgpu_device *adev, 162int amdgpu_bo_backup_to_shadow(struct amdgpu_device *adev,
163 struct amdgpu_ring *ring, 163 struct amdgpu_ring *ring,
164 struct amdgpu_bo *bo, 164 struct amdgpu_bo *bo,
165 struct reservation_object *resv, 165 struct reservation_object *resv,
166 struct fence **fence, bool direct); 166 struct dma_fence **fence, bool direct);
167int amdgpu_bo_restore_from_shadow(struct amdgpu_device *adev, 167int amdgpu_bo_restore_from_shadow(struct amdgpu_device *adev,
168 struct amdgpu_ring *ring, 168 struct amdgpu_ring *ring,
169 struct amdgpu_bo *bo, 169 struct amdgpu_bo *bo,
170 struct reservation_object *resv, 170 struct reservation_object *resv,
171 struct fence **fence, 171 struct dma_fence **fence,
172 bool direct); 172 bool direct);
173 173
174 174
@@ -200,7 +200,7 @@ int amdgpu_sa_bo_new(struct amdgpu_sa_manager *sa_manager,
200 unsigned size, unsigned align); 200 unsigned size, unsigned align);
201void amdgpu_sa_bo_free(struct amdgpu_device *adev, 201void amdgpu_sa_bo_free(struct amdgpu_device *adev,
202 struct amdgpu_sa_bo **sa_bo, 202 struct amdgpu_sa_bo **sa_bo,
203 struct fence *fence); 203 struct dma_fence *fence);
204#if defined(CONFIG_DEBUG_FS) 204#if defined(CONFIG_DEBUG_FS)
205void amdgpu_sa_bo_dump_debug_info(struct amdgpu_sa_manager *sa_manager, 205void amdgpu_sa_bo_dump_debug_info(struct amdgpu_sa_manager *sa_manager,
206 struct seq_file *m); 206 struct seq_file *m);