drm/i915/uc: Don't always fail on unavailable GuC firmware
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Sun, 18 Aug 2019 09:52:03 +0000 (09:52 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 18 Aug 2019 10:58:41 +0000 (11:58 +0100)
commitee402140274e87030bbdcf92b145974f69ae01d3
treecfebccda3558f1aa0bfd04ff178e789748e0faac
parent1ce5ba970cb713b8336ef4074c7a42a21c4e82e1
drm/i915/uc: Don't always fail on unavailable GuC firmware

If we failed to fetch default GuC firmware and we didn't plan
to use it for the submission and we never have used GuC before
then we may continue normal driver load, no need to declare
GPU wedged (we can use execlist for submission) and it is safe
to run without the HuC (users will check HuC status anyway).

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
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/20190818095204.31568-3-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/gt/uc/intel_uc.c