]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Do not allow unwedging following a failed driver initialisation
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 3 Jan 2019 21:33:40 +0000 (21:33 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 4 Jan 2019 09:06:00 +0000 (09:06 +0000)
commit92599dbb5e71837f26e70b3c0f62555bbf377612
tree0ed6498cbb818c061e768e18f2b0262306d1a811
parentaf19893be612e7b903db1f851d5aaa8c77e7a900
drm/i915: Do not allow unwedging following a failed driver initialisation

If we declare the driver wedged during early initialisation, we leave
the driver in an undefined state (with respect to GEM execution). As
this leads to unexpected behaviour if we allow the user to unwedge the
device (through debugfs, and performed by igt at test start), do not.

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