drm/i915/uc: Don't fail on HuC firmware failure
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 29 Jul 2019 11:26:12 +0000 (11:26 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 29 Jul 2019 21:03:39 +0000 (22:03 +0100)
commit301efe96f777c0197502b9399694ae83779579b3
tree5d1376bb7f9a29ad730f9cde0cfa7d1029b5715e
parented32f8d42cee118b075e4372a55c7739a11094b2
drm/i915/uc: Don't fail on HuC firmware failure

HuC is usually not a critical component, so we can safely ignore
firmware load or authentication failures unless HuC was explicitly
requested by the user.

v2: add convenient way to disable loading (Chris)

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>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> #v1
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190729112612.37476-1-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/gt/uc/intel_uc.c
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h