]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/huc: Don't fail the probe if HuC init fails
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Wed, 4 May 2022 20:48:16 +0000 (13:48 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Thu, 5 May 2022 22:48:01 +0000 (15:48 -0700)
commit878b9df1bf0fa560806c7d386e742789d18515b1
tree08cecad32027e2b987b4d539959dbb635bafabb9
parent465f452782bfd7258531570f2cce2fce8b16aeb2
drm/i915/huc: Don't fail the probe if HuC init fails

The previous patch introduced new failure cases in the HuC init flow
that can be hit by simply changing the config, so we want to avoid
failing the probe in those scenarios. HuC load failure is already
considered a non-fatal error and we have a way to report to userspace
if the HuC is not available via a dedicated getparam, so no changes
in expectation there.
The error message in the HuC init code has also been lowered to info to
avoid throwing error message for an expected behavior.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220504204816.2082588-5-daniele.ceraolospurio@intel.com
drivers/gpu/drm/i915/gt/uc/intel_huc.c
drivers/gpu/drm/i915/gt/uc/intel_uc.c