Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65cb8c0f authored by Chris Wilson's avatar Chris Wilson
Browse files

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: default avatarChris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: default avatarMika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180221151553.9054-1-chris@chris-wilson.co.uk
parent 56121070
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -881,6 +881,9 @@ static void execlists_submission_tasklet(unsigned long data)
				trace_i915_request_out(rq);
				trace_i915_request_out(rq);
				i915_request_put(rq);
				i915_request_put(rq);


				GEM_TRACE("%s completed ctx=%d\n",
					  engine->name, port->context_id);

				execlists_port_complete(execlists, port);
				execlists_port_complete(execlists, port);
			} else {
			} else {
				port_set(port, port_pack(rq, count));
				port_set(port, port_pack(rq, count));