]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Handle engine reset failure notification
authorMatthew Brost <matthew.brost@intel.com>
Tue, 27 Jul 2021 00:23:28 +0000 (17:23 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Wed, 28 Jul 2021 00:31:52 +0000 (17:31 -0700)
commitf7957e603cbc12e18b5f616e5f0d18e8ba994a1d
treec1ebe9a8cd43885ed47bee429c2ee19449a4ab46
parent1e0fd2b5da1ed5f71985676dc55145dd58367d93
drm/i915/guc: Handle engine reset failure notification

GuC will notify the driver, via G2H, if it fails to
reset an engine. We recover by resorting to a full GPU
reset.

v2:
 (John Harrison):
  - s/drm_dbg/drm_err

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Fernando Pacheco <fernando.pacheco@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210727002348.97202-14-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc.h
drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c