[Intel-gfx] [RFC 08/10] drm/i915/vm_bind: userptr dma-resv changes

Hellstrom, Thomas thomas.hellstrom at intel.com
Fri Jul 8 12:17:53 UTC 2022


On Fri, 2022-07-01 at 15:50 -0700, Niranjana Vishwanathapura wrote:
> For persistent (vm_bind) vmas of userptr BOs, handle the user
> page pinning by using the i915_gem_object_userptr_submit_init()
> /done() functions
> 
> Signed-off-by: Niranjana Vishwanathapura
> <niranjana.vishwanathapura at intel.com>
> ---
>  .../gpu/drm/i915/gem/i915_gem_execbuffer3.c   | 67
> +++++++++++++++++++
>  .../drm/i915/gem/i915_gem_vm_bind_object.c    | 16 +++++
>  drivers/gpu/drm/i915/gt/intel_gtt.c           |  1 +
>  drivers/gpu/drm/i915/gt/intel_gtt.h           |  1 +
>  4 files changed, 85 insertions(+)
> 

Hmm. I also miss the code in userptr invalidate that puts invalidated
vm-private userptr vmas on the rebind list?

/Thomas



More information about the Intel-gfx mailing list