]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Reset LRC descriptor if register returns -ENODEV
authorMatthew Brost <matthew.brost@intel.com>
Thu, 9 Sep 2021 16:47:35 +0000 (09:47 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Mon, 13 Sep 2021 18:30:43 +0000 (11:30 -0700)
commitae36b62927f1cfe81095641d6279cbf23fb64b2a
tree0e7a72dbea87fbe66acaccbd8de77e6d30a716de
parentf16d5cb981a557c1a32bc43ef28b5dc254f7239c
drm/i915/guc: Reset LRC descriptor if register returns -ENODEV

Reset LRC descriptor if a context register returns -ENODEV as this means
we are mid-reset.

Fixes: eb5e7da736f3 ("drm/i915/guc: Reset implementation for new GuC interface")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210909164744.31249-15-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c