Re: [PATCH 2/4] drm/xe/vm: Implement userptr page pinning

2023-08-22 Thread Thomas Hellström
On 8/20/23 06:06, Matthew Brost wrote: On Fri, Aug 18, 2023 at 05:08:43PM +0200, Thomas Hellström wrote: Implement pinning of userptrs between VM_BIND and VM_UNBIND, which will facilitate avoiding long hangs on non-preemptible workloads. But don't hook it up to userspace just yet.

Re: [PATCH 2/4] drm/xe/vm: Implement userptr page pinning

2023-08-19 Thread Matthew Brost
On Fri, Aug 18, 2023 at 05:08:43PM +0200, Thomas Hellström wrote: > Implement pinning of userptrs between VM_BIND and VM_UNBIND, which will > facilitate avoiding long hangs on non-preemptible workloads. But don't > hook it up to userspace just yet. > > Signed-off-by: Thomas Hellström > --- >

[PATCH 2/4] drm/xe/vm: Implement userptr page pinning

2023-08-18 Thread Thomas Hellström
Implement pinning of userptrs between VM_BIND and VM_UNBIND, which will facilitate avoiding long hangs on non-preemptible workloads. But don't hook it up to userspace just yet. Signed-off-by: Thomas Hellström --- drivers/gpu/drm/xe/xe_vm.c | 76 ++--