diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 8 | 
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h index caa76c693700..0dddedc06ae3 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h @@ -38,6 +38,8 @@  #define AMDGPU_GTT_MAX_TRANSFER_SIZE	512  #define AMDGPU_GTT_NUM_TRANSFER_WINDOWS	2 +#define AMDGPU_POISON	0xd0bed0be +  struct amdgpu_mman {  	struct ttm_bo_device		bdev;  	bool				mem_global_referenced; @@ -83,18 +85,18 @@ void amdgpu_ttm_set_buffer_funcs_status(struct amdgpu_device *adev,  int amdgpu_copy_buffer(struct amdgpu_ring *ring, uint64_t src_offset,  		       uint64_t dst_offset, uint32_t byte_count, -		       struct reservation_object *resv, +		       struct dma_resv *resv,  		       struct dma_fence **fence, bool direct_submit,  		       bool vm_needs_flush);  int amdgpu_ttm_copy_mem_to_mem(struct amdgpu_device *adev,  			       struct amdgpu_copy_mem *src,  			       struct amdgpu_copy_mem *dst,  			       uint64_t size, -			       struct reservation_object *resv, +			       struct dma_resv *resv,  			       struct dma_fence **f);  int amdgpu_fill_buffer(struct amdgpu_bo *bo,  			uint32_t src_data, -			struct reservation_object *resv, +			struct dma_resv *resv,  			struct dma_fence **fence);  int amdgpu_mmap(struct file *filp, struct vm_area_struct *vma);  |