drm/i915/execlists: Log fence context & seqno throughout GEM_TRACE
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 6 Apr 2018 12:35:14 +0000 (13:35 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 9 Apr 2018 12:36:47 +0000 (13:36 +0100)
commit0c5c7df360dbcfefac61ebd118c8551acf714d79
tree0becfa880c3b8d5acfd261b6ddc4f223ef68b02a
parent19d3cf00cda6a3543c6fe2c75b674efab4a20eb6
drm/i915/execlists: Log fence context & seqno throughout GEM_TRACE

Include fence context and seqno in low level tracing so it is easier to
follow flows of individual requests when things go bad.

Also added tracing on the reset side of things.

v2:
 Chris Wilson:
 * Standardize global_seqno and seqno as global.
 * Include current hws seqno in execlists_cancel_port_requests.

v3:
 * Fix port printk format for all builds.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> # v2
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180406123514.5809-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_request.c
drivers/gpu/drm/i915/intel_lrc.c