]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Include the trace as a debug aide
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 22 Mar 2018 07:49:08 +0000 (07:49 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 22 Mar 2018 20:34:39 +0000 (20:34 +0000)
commit9d80118a6884e297b25a3afaadfd17765792c2ec
tree8cd50202aea997ac5c14f8d6d660f35cf5ba7501
parentf2c8d303fd757c772443705f3bb3dc00ec8c4465
drm/i915/selftests: Include the trace as a debug aide

If we fail to reset the GPU in a timely fashion, dump the GEM trace so
that we can see what operations were in flight when the GPU got stuck.

v2: There's more than one timeout that deserves tracing!
v3: Silence checkpatch by not even using a product at all!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Jeff McGee <jeff.mcgee@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180322074908.10838-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/intel_hangcheck.c