]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6764dd781e0205f6e253e648e60f65e37ef87b0
tree5d1376bb7f9a29ad730f9cde0cfa7d1029b5715e
parent5927128f426cef6a38319b10bf3b98654ffa8180
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