aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2018-02-21 15:15:53 +0000
committerChris Wilson <[email protected]>2018-02-22 09:08:21 +0000
commit65cb8c0f040bd791b9adb761be2710adcd9df00f (patch)
tree07da7b015334bc637b64b39ca380495ba761bad5
parent561210706cd00f83f14af124edb3a5ff1b732912 (diff)
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 <[email protected]> Cc: Mika Kuoppala <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r--drivers/gpu/drm/i915/intel_lrc.c3
1 files changed, 3 insertions, 0 deletions
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));