]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Flush G2H handler during a GT reset
authorMatthew Brost <matthew.brost@intel.com>
Fri, 21 Jan 2022 04:31:18 +0000 (20:31 -0800)
committerJohn Harrison <John.C.Harrison@Intel.com>
Fri, 21 Jan 2022 23:46:44 +0000 (15:46 -0800)
commita64a55fb3066e060ba15fc9110d5a55d6131283b
treead028afad0fdae285ee316dddb12bee6e78ee97f
parente7dd3c82f58e87b982ffc771d1b28dbc886e3a60
drm/i915/guc: Flush G2H handler during a GT reset

Now that the error capture is fully decoupled from fence signalling
(request retirement to free memory, which in turn depends on resets) we
can safely flush the G2H handler during a GT reset. This eliminates
corner cases where GuC generated G2H (e.g. engine resets) race with a GT
reset.

v2:
 (John Harrison)
  - Fix typo in commit message (s/is/in)

Signed-off-by: Matthew Brost <matthew.brost@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/20220121043118.24886-4-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c