]> 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)
commitb5c03914db1991f1193767399e41dfe0c8740a3d
tree7b9d1ddcc39a90ba5a6b084896e112bdb63b20d2
parent81ab2f1fdb42ec8ead3aeaf724660d545ef27d0e
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