]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Report if an unbannable context is involved in a GPU hang
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 5 Feb 2018 09:41:39 +0000 (09:41 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 5 Feb 2018 10:59:22 +0000 (10:59 +0000)
commit41f1bf39ae55b68aa3e2fc2264f3ecfedef01ead
tree133028c3e09de8641c07748322b3371ae4df0a77
parentcc4889effd7bdd67cd9756374fdeb85d78d0dca2
drm/i915: Report if an unbannable context is involved in a GPU hang

Since unbannable contexts are special and supposed not to be causing GPU
hangs in the first place, make it clear when they are implicated in said
hang. In practice, most unbannable contexts are those created by igt
for the express purpose of throwing untold thousands of hangs at the GPU
and wish to keep doing so to finish the test. Normally they are cleaned
up, but it's when they or the other unbannable kernel contexts stay
stuck in an erroneous state that we need to worry and so need
highlighting.

Suggested-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180205094139.10671-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c