]> git.ipfire.org Git - thirdparty/linux.git/commit - drivers/gpu/drm/i915/intel_lrc.c
drm/i915: Tidy up GEM_TRACE around execlists
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 20 Dec 2017 09:06:26 +0000 (09:06 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 20 Dec 2017 13:24:34 +0000 (13:24 +0000)
commit16a8739402a004de7283c33427150f7189fccf4f
treef1b6662aa4c92c215ab79ee00043f0c24c4354c3
parent14c6547d6df641d3e41fa4f4164f6e267ebfab89
drm/i915: Tidy up GEM_TRACE around execlists

Looking at the coordination of resets with the submission of execlists,
it will be useful to have a GEM_TRACE for when we issue the reset.
Whilst there tidy up the other GEM_TRACE to always include the engine
name, and be careful not to trust any pointers prior to asserts.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171220090626.31643-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c