[PATCH v3 05/17] drm/i915/vm_bind: Implement bind and unbind of object

Matthew Auld matthew.auld at intel.com
Tue Oct 11 17:37:57 UTC 2022


On 10/10/2022 07:58, Niranjana Vishwanathapura wrote:
> Add uapi and implement support for bind and unbind of an
> object at the specified GPU virtual addresses.
> 
> The vm_bind mode is not supported in legacy execbuf2 ioctl.
> It will be supported only in the newer execbuf3 ioctl.
> 
> v2: On older platforms ctx->vm is not set, check for it.
>      In vm_bind call, add vma to vm_bind_list.
>      Add more input validity checks.
>      Update some documentation.
> v3: In vm_bind call, add vma to vm_bound_list as user can
>      request a fence and pass to execbuf3 as input fence.
>      Remove short term pinning with PIN_VALIDATE flag.
> 
> Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>
> Signed-off-by: Prathap Kumar Valsan <prathap.kumar.valsan at intel.com>
> Signed-off-by: Andi Shyti <andi.shyti at linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the dri-devel mailing list