OSDN Git Service

drm/i915/gt: Add some debug tracing for context pinning
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Jun 2019 19:48:59 +0000 (20:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 26 Jun 2019 06:44:43 +0000 (07:44 +0100)
commitcba17e5d647b4dabb3c9d8bc1bf2636f1a3a9687
tree21996bc9f29b8413a3b5d7b52ad582add33f31b2
parentf0ca820cc0067ce4debd9893650e5c188c83b941
drm/i915/gt: Add some debug tracing for context pinning

Add the context pin/unpin events to the trace for post-mortem debugging.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190625194859.28005-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_context.c
drivers/gpu/drm/i915/gt/intel_ringbuffer.c