On 17-07-13 05:08 PM, Felix Kuehling wrote: > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h > @@ -78,6 +78,8 @@ int amdgpu_fill_buffer(struct amdgpu_bo *bo, > struct dma_fence **fence); > > int amdgpu_mmap(struct file *filp, struct vm_area_struct *vma); > +int amdgpu_bo_mmap(struct file *filp, struct vm_area_struct *vma, > + struct ttm_bo_device *bdev); > bool amdgpu_ttm_is_bound(struct ttm_tt *ttm); > int amdgpu_ttm_bind(struct ttm_buffer_object *bo, struct ttm_mem_reg > *bo_mem); > int amdgpu_ttm_recover_gart(struct amdgpu_device *adev); Oops, this is a remnant from the old version that hacked the ttm_vm_ops in amdgpu. I'll remove this before I submit. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
- [PATCH 1/2] drm: Implement vm_operations_struct.access Felix Kuehling
- [PATCH 2/2] drm/amdgpu: Implement ttm_bo_driver.acce... Felix Kuehling
- Re: [PATCH 2/2] drm/amdgpu: Implement ttm_bo_dri... Felix Kuehling
- Re: [PATCH 2/2] drm/amdgpu: Implement ttm_bo... Michel Dänzer
- Re: [PATCH 2/2] drm/amdgpu: Implement ttm_bo_dri... Christian König
- Re: [PATCH 2/2] drm/amdgpu: Implement ttm_bo... Felix Kuehling
- Re: [PATCH 2/2] drm/amdgpu: Implement tt... Christian König
- Re: [PATCH 1/2] drm: Implement vm_operations_struct.... Michel Dänzer
- Re: [PATCH 1/2] drm: Implement vm_operations_str... Felix Kuehling
- Re: [PATCH 1/2] drm: Implement vm_operations... Michel Dänzer
- Re: [PATCH 1/2] drm: Implement vm_operat... Christian König
- Re: [PATCH 1/2] drm: Implement vm_operations_struct.... Christian König
- Re: [PATCH 1/2] drm: Implement vm_operations_str... Felix Kuehling
