Skip to content
Snippets Groups Projects
Commit bae1607e authored by Chris Wilson's avatar Chris Wilson Committed by Kamil Konieczny
Browse files

runner: Dump GPU state on timeout


As well as the task and cpu state we show, include the GPU state now
available via sysrq upon a runner abort (typically a timeout for an
unresponsive driver).

Cc: Petri Latvala <adrinael@adrinael.net>
Signed-off-by: default avatarChris Wilson <chris.p.wilson@intel.com>
Signed-off-by: default avatarKamil Konieczny <kamil.konieczny@linux.intel.com>
Reviewed-by: default avatarZbigniew Kempczyński <zbigniew.kempczynski@intel.com>
parent 03cbd0b4
No related branches found
No related tags found
No related merge requests found
......@@ -748,6 +748,7 @@ static void kmsg_log(int severity, const char *msg)
static const char *show_kernel_task_state(const char *msg)
{
kmsg_log(KMSG_WARN, msg);
sysrq('G'); /* GPU state */
sysrq('t'); /* task state, stack traces and cpu run lists */
sysrq('m'); /* task memory usage */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment