Re: [Intel-gfx] [PATCH] drm/i915/userptr: detect un-GUP-able pages early

2021-01-19 Thread Jinoh Kang
On 1/15/21 4:56 PM, Chris Wilson wrote: > Quoting Jinoh Kang (2021-01-15 16:23:31) >> If GUP-ineligible pages are passed to a GEM userptr object, -EFAULT is >> returned only when the object is actually bound. >> >> The xf86-video-intel userspace driver cannot different

Re: [Intel-gfx] [PATCH] drm/i915/userptr: detect un-GUP-able pages early

2021-01-19 Thread Jinoh Kang
On 1/15/21 5:07 PM, Chris Wilson wrote: > Quoting Chris Wilson (2021-01-15 16:56:42) >> Quoting Jinoh Kang (2021-01-15 16:23:31) >>> If GUP-ineligible pages are passed to a GEM userptr object, -EFAULT is >>> returned only when the object is actually bound. >>>

[Intel-gfx] [PATCH] drm/i915/userptr: detect un-GUP-able pages early

2021-01-15 Thread Jinoh Kang
om Xen guest to dom0. These pages are not GUP-able, but they cannot be exposed via DMA-BUF either. Previously this issue had gone somehow undetected, until some patch between v4.14 and v4.19 triggered it. Signed-off-by: Jinoh Kang Cc: Marek Marczykowski-Górecki Cc: Jani Nikula Cc: Joonas L