[RFC 8/8] don't propagate error to waiters

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Mon Mar 15 15:53:22 UTC 2021


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
---
 drivers/gpu/drm/i915/i915_request.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_request.c b/drivers/gpu/drm/i915/i915_request.c
index 454ce291994d..95a7f890dc30 100644
--- a/drivers/gpu/drm/i915/i915_request.c
+++ b/drivers/gpu/drm/i915/i915_request.c
@@ -704,7 +704,7 @@ void i915_request_cancel(struct i915_request *rq, int error)
 		return;
 
 	set_bit(I915_FENCE_FLAG_SENTINEL, &rq->fence.flags);
-
+#if 0
 	if (i915_sw_fence_signaled(&rq->submit)) {
 		struct i915_dependency *p;
 
@@ -729,7 +729,7 @@ void i915_request_cancel(struct i915_request *rq, int error)
 		}
 		rcu_read_unlock();
 	}
-
+#endif
 	__cancel_request(rq);
 }
 
-- 
2.27.0



More information about the Intel-gfx-trybot mailing list