]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Check engine-is-awake on reset later
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 27 Feb 2020 20:47:27 +0000 (20:47 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Feb 2020 09:30:14 +0000 (09:30 +0000)
commitd3b03d8bf4b82b74f3faeec4115ca648195d6b29
treeefb58cbed4b994d993d934384de6b466942d71d9
parent950da30162186177b96fbcfe79b788f955a1329c
drm/i915/gt: Check engine-is-awake on reset later

As we drop the engine-pm on retiring, that may happen while there are
still CS events in the buffer. As such we cannot assert the engine is
still active on reset, until we know that the current request is still
in flight.

Closes: https://gitlab.freedesktop.org/drm/intel/issues/1338
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200227204727.2009346-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c