]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Retry GuC load for all load failures
authorRobert M. Fosha <robert.m.fosha@intel.com>
Fri, 29 Mar 2019 23:17:46 +0000 (16:17 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 30 Mar 2019 08:02:07 +0000 (08:02 +0000)
commitaf103fd22fc3262a020e1ad505335376557f67bb
tree7543e27f1e4066a48762966008193a0952e54806
parenta3a42680b10a39e281b72759fbaf563b4a4199ce
drm/i915/guc: Retry GuC load for all load failures

Currently we only retry to load GuC firmware if the load fails due to
timeout. On Gen9 GuC loading may fail for different reasons, not just
hang/timeout. Direction from the GuC team is to retry for all cases of
GuC load failure on Gen9, not just for timeout.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108593
Signed-off-by: Robert M. Fosha <robert.m.fosha@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190329231746.9129-1-robert.m.fosha@intel.com
drivers/gpu/drm/i915/intel_uc.c