All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/execlists: Add a GEM_TRACE to show when the context is completed
@ 2018-02-21 15:15 Chris Wilson
  2018-02-21 15:21 ` Mika Kuoppala
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Chris Wilson @ 2018-02-21 15:15 UTC (permalink / raw)
  To: intel-gfx

Include a GEM_TRACE to show when the context is complete and we advance
the ELSP port.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
---
 drivers/gpu/drm/i915/intel_lrc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c
index 9b6d781b22ec..fe5a0fa3f3b6 100644
--- a/drivers/gpu/drm/i915/intel_lrc.c
+++ b/drivers/gpu/drm/i915/intel_lrc.c
@@ -890,6 +890,9 @@ static void execlists_submission_tasklet(unsigned long data)
 				trace_i915_gem_request_out(rq);
 				i915_gem_request_put(rq);
 
+				GEM_TRACE("%s completed ctx=%d\n",
+					  engine->name, port->context_id);
+
 				execlists_port_complete(execlists, port);
 			} else {
 				port_set(port, port_pack(rq, count));
-- 
2.16.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-02-22  8:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-21 15:15 [PATCH] drm/i915/execlists: Add a GEM_TRACE to show when the context is completed Chris Wilson
2018-02-21 15:21 ` Mika Kuoppala
2018-02-21 15:36   ` Chris Wilson
2018-02-22  8:50     ` Mika Kuoppala
2018-02-21 15:47 ` ✓ Fi.CI.BAT: success for " Patchwork
2018-02-21 19:44 ` ✓ Fi.CI.IGT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.