[Intel-gfx] [PATCH 12/15] drm/i915: Wait upon userptr get-user-pages within execbuffer
Michał Winiarski
michal.winiarski at intel.com
Fri Feb 24 13:53:07 UTC 2017
On Thu, Feb 23, 2017 at 04:18:27PM +0000, Chris Wilson wrote:
> This simply hides the EAGAIN caused by userptr when userspace causes
> resource contention. However, it is quite beneficial with highly
> contended userptr users as we avoid repeating the setup costs and
> kernel-user context switches.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Michał Winiarski <michal.winiarski at intel.com>
-Michał
> ---
> drivers/gpu/drm/i915/i915_drv.c | 1 +
> drivers/gpu/drm/i915/i915_drv.h | 10 +++++++++-
> drivers/gpu/drm/i915/i915_gem.c | 4 +++-
> drivers/gpu/drm/i915/i915_gem_execbuffer.c | 3 +++
> drivers/gpu/drm/i915/i915_gem_userptr.c | 18 +++++++++++++++---
> 5 files changed, 31 insertions(+), 5 deletions(-)
More information about the Intel-gfx
mailing list