drm/i915/huc: Mark firmware as failed on auth failure
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 2 Mar 2018 13:37:17 +0000 (13:37 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 2 Mar 2018 23:11:13 +0000 (23:11 +0000)
commit7b026763cff902debe1184ef4e0609dc148338ad
tree764e72c2e0d20c91e3d6d6f40f0743a398beb302
parent7cfca4afd656f0aa6f136d8a1260d994abc96a0c
drm/i915/huc: Mark firmware as failed on auth failure

If we fail to authenticate HuC firmware, we should change
its load status to FAIL. While around, print HUC_STATUS
on firmware verification failure.

v2: keep the variables sorted by length (Chris)

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Anusha Srivatsa <anusha.srivatsa@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/20180302133718.1260-1-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/intel_huc.c