[PATCH 1/2] drm/ttm: also export ttm_bo_vm_fault
Christian König
ckoenig.leichtzumerken at gmail.com
Wed Oct 2 08:38:23 UTC 2019
Just a gentle ping on this. Everybody on XDC, or can we get this comitted?
Am 27.09.19 um 14:34 schrieb Christian König:
> That is needed by at least a cleanup in radeon.
>
> Signed-off-by: Christian König <christian.koenig at amd.com>
> ---
> drivers/gpu/drm/ttm/ttm_bo_vm.c | 3 ++-
> include/drm/ttm/ttm_bo_api.h | 2 ++
> 2 files changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/ttm/ttm_bo_vm.c b/drivers/gpu/drm/ttm/ttm_bo_vm.c
> index cb3120cd5aa1..525046bbcb6b 100644
> --- a/drivers/gpu/drm/ttm/ttm_bo_vm.c
> +++ b/drivers/gpu/drm/ttm/ttm_bo_vm.c
> @@ -316,7 +316,7 @@ vm_fault_t ttm_bo_vm_fault_reserved(struct vm_fault *vmf,
> }
> EXPORT_SYMBOL(ttm_bo_vm_fault_reserved);
>
> -static vm_fault_t ttm_bo_vm_fault(struct vm_fault *vmf)
> +vm_fault_t ttm_bo_vm_fault(struct vm_fault *vmf)
> {
> struct vm_area_struct *vma = vmf->vma;
> pgprot_t prot;
> @@ -336,6 +336,7 @@ static vm_fault_t ttm_bo_vm_fault(struct vm_fault *vmf)
>
> return ret;
> }
> +EXPORT_SYMBOL(ttm_bo_vm_fault);
>
> void ttm_bo_vm_open(struct vm_area_struct *vma)
> {
> diff --git a/include/drm/ttm/ttm_bo_api.h b/include/drm/ttm/ttm_bo_api.h
> index 851260cbbb2f..dad41cf5cd64 100644
> --- a/include/drm/ttm/ttm_bo_api.h
> +++ b/include/drm/ttm/ttm_bo_api.h
> @@ -796,6 +796,8 @@ 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);
More information about the amd-gfx
mailing list