summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_huc.h
diff options
context:
space:
mode:
authorMichal Wajdeczko2018-03-14 21:04:29 +0100
committerChris Wilson2018-03-21 16:04:28 +0100
commitfa265275910f9d2396f8656317196c830878bd40 (patch)
treebde4dc5215f75e2f636bb74e43aa7f78c7310e3d /drivers/gpu/drm/i915/intel_huc.h
parentdrm/i915/icl: Added ICL 11 slice, subslice and EU fuse detection (diff)
downloadkernel-qcow2-linux-fa265275910f9d2396f8656317196c830878bd40.tar.gz
kernel-qcow2-linux-fa265275910f9d2396f8656317196c830878bd40.tar.xz
kernel-qcow2-linux-fa265275910f9d2396f8656317196c830878bd40.zip
drm/i915/huc: Check HuC status in dedicated function
We try to keep all HuC related code in dedicated file. There is no need to peek HuC register directly during handling getparam ioctl. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Michel Thierry <michel.thierry@intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Anusha Srivatsa <anusha.srivatsa@intel.com> Reviewed-by: Michel Thierry <michel.thierry@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20180314200429.40132-1-michal.wajdeczko@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_huc.h')
-rw-r--r--drivers/gpu/drm/i915/intel_huc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_huc.h b/drivers/gpu/drm/i915/intel_huc.h
index b1858503c451..aa854907abac 100644
--- a/drivers/gpu/drm/i915/intel_huc.h
+++ b/drivers/gpu/drm/i915/intel_huc.h
@@ -37,6 +37,7 @@ struct intel_huc {
void intel_huc_init_early(struct intel_huc *huc);
int intel_huc_auth(struct intel_huc *huc);
+int intel_huc_check_status(struct intel_huc *huc);
static inline int intel_huc_sanitize(struct intel_huc *huc)
{