]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: skip disabling CTBs before sanitizing the GuC
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Thu, 3 Jun 2021 05:16:11 +0000 (22:16 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 Jun 2021 21:30:48 +0000 (23:30 +0200)
commitd7ec7f77378238f3ab075a3383258114475a55b8
tree6f3721c2c439cbef76735e448d3ed7323a7ca44a
parent07c34f7bb629973d43cef8e4ecb0c9991b63cf42
drm/i915/guc: skip disabling CTBs before sanitizing the GuC

If we're about to sanitize the GuC, something might have going wrong
beforehand, so we should avoid trying to talk to it. Even if GuC is
still running fine, the sanitize will reset its internal state and clear
the CTB registration, so there is still no need to explicitly do so.

References: https://gitlab.freedesktop.org/drm/intel/-/issues/2469
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210603051630.2635-2-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/uc/intel_uc.c