drm/i915: Dump the ringbuffer of the active request for debugging
authorChris Wilson <[email protected]>
Thu, 14 Jun 2018 12:21:50 +0000 (13:21 +0100)
committerChris Wilson <[email protected]>
Thu, 14 Jun 2018 13:34:13 +0000 (14:34 +0100)
commit83c317832eb1862e27f872606ee1a2fed6ab638f
tree5df60e1df1a4547a0d33dcd559f23145f51be670
parent856e1b175650816dce554d2865ec258aa3b72098
drm/i915: Dump the ringbuffer of the active request for debugging

Sometimes we need to see what instructions we emitted for a request to
try and gather a glimmer of insight into what the GPU is doing when it
stops responding.

v2: Move ring dumping into its own routine

Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Joonas Lahtinen <[email protected]>
drivers/gpu/drm/i915/intel_engine_cs.c