diff options
-rw-r--r-- | drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c index 9f8c32c93d82..dc2daf780ffd 100644 --- a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c +++ b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c @@ -1795,7 +1795,7 @@ repeat: i915_gem_ww_ctx_fini(&eb->ww); /* - * We take 3 passes through the slowpatch. + * We take 2 passes through the slowpatch. * * 1 - we try to just prefault all the user relocation entries and * then attempt to reuse the atomic pagefault disabled fast path again. @@ -1803,18 +1803,12 @@ repeat: * 2 - we copy the user entries to a local buffer here outside of the * local and allow ourselves to wait upon any rendering before * relocations - * - * 3 - we already have a local copy of the relocation entries, but - * were interrupted (EAGAIN) whilst waiting for the objects, try again. */ if (!err) { err = eb_prefault_relocations(eb); } else if (!have_copy) { err = eb_copy_relocations(eb); have_copy = err == 0; - } else { - cond_resched(); - err = 0; } if (!err) @@ -1877,9 +1871,6 @@ err: goto repeat_validate; } - if (err == -EAGAIN) - goto repeat; - out: if (have_copy) { const unsigned int count = eb->buffer_count; |