diff mbox series

[1/1] drm/i915/gt: Remove interruptible flag from wait_for_space

Message ID 20230825220113.2273092-2-jonathan.cavitt@intel.com (mailing list archive)
State New, archived
Headers show
Series drm/i915/gt: Remove interruptible flag from wait_for_space | expand

Commit Message

Cavitt, Jonathan Aug. 25, 2023, 10:01 p.m. UTC
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 <jonathan.cavitt@intel.com>
---
 drivers/gpu/drm/i915/gt/intel_ring.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox series

Patch

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;