[PATCH 8/8] drm/i915: Remove redundant trialing request flush

Chris Wilson chris at chris-wilson.co.uk
Tue Dec 18 12:06:41 UTC 2018


Now that we perform the request flushing inline with emitting the
breadcrumb, we can remove the now redundant manual flush.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/i915_request.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_request.c b/drivers/gpu/drm/i915/i915_request.c
index 6cedcfea33b5..caa32e1e9958 100644
--- a/drivers/gpu/drm/i915/i915_request.c
+++ b/drivers/gpu/drm/i915/i915_request.c
@@ -861,7 +861,6 @@ void i915_request_add(struct i915_request *request)
 	 * know that it is time to use that space up.
 	 */
 	request->reserved_space = 0;
-	engine->emit_flush(request, EMIT_FLUSH);
 
 	/*
 	 * Record the position of the start of the breadcrumb so that
-- 
2.20.0



More information about the Intel-gfx-trybot mailing list