From: Chris Wilson Date: Wed, 21 Feb 2018 15:15:53 +0000 (+0000) Subject: drm/i915/execlists: Add a GEM_TRACE to show when the context is completed X-Git-Tag: v4.17-rc1~185^2~14^2~94 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=65cb8c0f040bd791b9adb761be2710adcd9df00f;p=linux.git drm/i915/execlists: Add a GEM_TRACE to show when the context is completed Include a GEM_TRACE to show when the context is complete and we advance the ELSP port. Signed-off-by: Chris Wilson Cc: Mika Kuoppala Reviewed-by: Mika Kuoppala Link: https://patchwork.freedesktop.org/patch/msgid/20180221151553.9054-1-chris@chris-wilson.co.uk --- diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c index e781c912f197..34fa8778b1f4 100644 --- a/drivers/gpu/drm/i915/intel_lrc.c +++ b/drivers/gpu/drm/i915/intel_lrc.c @@ -881,6 +881,9 @@ static void execlists_submission_tasklet(unsigned long data) trace_i915_request_out(rq); i915_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));