]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Handle catastrophic error on engine reset
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Fri, 12 Apr 2019 16:53:53 +0000 (19:53 +0300)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 12 Apr 2019 18:23:45 +0000 (19:23 +0100)
commita26b20599f085012eab38cde0dcd8c9e4a379e93
treecfb4d788f723131176629d2bbae19f6188c96026
parent9cda06655a0735ab618e0417181edeea7f70c91b
drm/i915: Handle catastrophic error on engine reset

If cat error is set, we need to clear it by acking it. Further,
if it is set, we must not do a normal request for reset.

v2: avoid goto (Chris)
v3: comment, error format, direct assign (Chris)
Bspec: 12567
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190412165353.16432-1-mika.kuoppala@linux.intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/i915_reset.c