diff options
author | Christian König <ckoenig.leichtzumerken@gmail.com> | 2019-09-27 14:34:24 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2019-11-08 11:33:32 +0100 |
commit | 20c012b24340a5a5f7b57d8e38dbdff5d561bfc8 (patch) | |
tree | ee0a7e4c7b341714c22f1e13cae7ab991b625948 /include/drm/ttm | |
parent | 4961eb60f14553363a0a7a9fb7b20d9c57d3ebba (diff) | |
download | linux-20c012b24340a5a5f7b57d8e38dbdff5d561bfc8.tar.gz linux-20c012b24340a5a5f7b57d8e38dbdff5d561bfc8.tar.bz2 linux-20c012b24340a5a5f7b57d8e38dbdff5d561bfc8.zip |
drm/ttm: also export ttm_bo_vm_fault v2
That is needed by at least a cleanup in radeon.
v2: also export ttm_bo_vm_access
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/339353/
Diffstat (limited to 'include/drm/ttm')
-rw-r--r-- | include/drm/ttm/ttm_bo_api.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/drm/ttm/ttm_bo_api.h b/include/drm/ttm/ttm_bo_api.h index e8b0f0c66059..66ca49db9633 100644 --- a/include/drm/ttm/ttm_bo_api.h +++ b/include/drm/ttm/ttm_bo_api.h @@ -734,7 +734,13 @@ vm_fault_t ttm_bo_vm_fault_reserved(struct vm_fault *vmf, pgprot_t prot, pgoff_t num_prefault); +vm_fault_t ttm_bo_vm_fault(struct vm_fault *vmf); + void ttm_bo_vm_open(struct vm_area_struct *vma); void ttm_bo_vm_close(struct vm_area_struct *vma); + +int ttm_bo_vm_access(struct vm_area_struct *vma, unsigned long addr, + void *buf, int len, int write); + #endif |