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

Niranjana Vishwanathapura niranjana.vishwanathapura at intel.com
Fri Jul 8 14:54:18 UTC 2022


On Fri, Jul 08, 2022 at 05:17:53AM -0700, Hellstrom, Thomas wrote:
>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?

Yah, looks like it is lost in rebase.
Based on discussion in other thread on this patch, it is going to be
bit different here than adding to rebind_list.

Niranjana

>
>/Thomas
>


More information about the Intel-gfx mailing list