Re: [PATCH v3 2/2] drm/gpuvm: Add locking helpers

2025-06-29 Thread Danilo Krummrich
On 6/27/25 3:04 PM, Rob Clark wrote: On Fri, Jun 20, 2025 at 8:45 AM Rob Clark wrote: For UNMAP/REMAP steps we could be needing to lock objects that are not explicitly listed in the VM_BIND ioctl in order to tear-down unmapped VAs. These helpers handle locking/preparing the needed objects. N

Re: [PATCH v3 2/2] drm/gpuvm: Add locking helpers

2025-06-27 Thread Rob Clark
On Fri, Jun 20, 2025 at 8:45 AM Rob Clark wrote: > > For UNMAP/REMAP steps we could be needing to lock objects that are not > explicitly listed in the VM_BIND ioctl in order to tear-down unmapped > VAs. These helpers handle locking/preparing the needed objects. > > Note that these functions do no

[PATCH v3 2/2] drm/gpuvm: Add locking helpers

2025-06-20 Thread Rob Clark
For UNMAP/REMAP steps we could be needing to lock objects that are not explicitly listed in the VM_BIND ioctl in order to tear-down unmapped VAs. These helpers handle locking/preparing the needed objects. Note that these functions do not strictly require the VM changes to be applied before the ne