When performing the i915_request_wait in wait_for_space, which itself is
called by intel_ring_begin, we do not need to apply the
I915_TASK_INTERRUPTIBLE flag.  So, remove it.

Signed-off-by: Jonathan Cavitt <[email protected]>
---
 drivers/gpu/drm/i915/gt/intel_ring.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/intel_ring.c 
b/drivers/gpu/drm/i915/gt/intel_ring.c
index 59da4b7bd262..73deac91a037 100644
--- a/drivers/gpu/drm/i915/gt/intel_ring.c
+++ b/drivers/gpu/drm/i915/gt/intel_ring.c
@@ -214,9 +214,7 @@ wait_for_space(struct intel_ring *ring,
        if (GEM_WARN_ON(&target->link == &tl->requests))
                return -ENOSPC;
 
-       timeout = i915_request_wait(target,
-                                   I915_WAIT_INTERRUPTIBLE,
-                                   MAX_SCHEDULE_TIMEOUT);
+       timeout = i915_request_wait(target, 0, MAX_SCHEDULE_TIMEOUT);
        if (timeout < 0)
                return timeout;
 
-- 
2.25.1

Reply via email to