diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h index afa5189dba7d..5ddb6cf96030 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h @@ -160,7 +160,7 @@ static inline int amdgpu_bo_reserve(struct amdgpu_bo *bo, bool no_intr)  	struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev);  	int r; -	r = __ttm_bo_reserve(&bo->tbo, !no_intr, false, NULL); +	r = ttm_bo_reserve(&bo->tbo, !no_intr, false, NULL);  	if (unlikely(r != 0)) {  		if (r != -ERESTARTSYS)  			dev_err(adev->dev, "%p reserve failed\n", bo); @@ -283,7 +283,7 @@ int amdgpu_bo_get_metadata(struct amdgpu_bo *bo, void *buffer,  			   uint64_t *flags);  void amdgpu_bo_move_notify(struct ttm_buffer_object *bo,  			   bool evict, -			   struct ttm_mem_reg *new_mem); +			   struct ttm_resource *new_mem);  void amdgpu_bo_release_notify(struct ttm_buffer_object *bo);  int amdgpu_bo_fault_reserve_notify(struct ttm_buffer_object *bo);  void amdgpu_bo_fence(struct amdgpu_bo *bo, struct dma_fence *fence, |