]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Reset GPU immediately if submission is disabled
authorMatthew Brost <matthew.brost@intel.com>
Tue, 27 Jul 2021 00:23:24 +0000 (17:23 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Wed, 28 Jul 2021 00:31:45 +0000 (17:31 -0700)
commit91130b73435abd352e14025d464cf8b8f44b90fd
tree7b9d1ddcc39a90ba5a6b084896e112bdb63b20d2
parent828117eb687b7604e5342b4dc325eb10193b8b50
drm/i915: Reset GPU immediately if submission is disabled

If submission is disabled by the backend for any reason, reset the GPU
immediately in the heartbeat code as the backend can't be reenabled
until the GPU is reset.

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/20210727002348.97202-10-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c
drivers/gpu/drm/i915/gt/intel_engine_heartbeat.h
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
drivers/gpu/drm/i915/i915_scheduler.c
drivers/gpu/drm/i915/i915_scheduler.h
drivers/gpu/drm/i915/i915_scheduler_types.h