diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_huc.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_huc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_huc.h b/drivers/gpu/drm/i915/intel_huc.h index aa854907abac..7e41d870b509 100644 --- a/drivers/gpu/drm/i915/intel_huc.h +++ b/drivers/gpu/drm/i915/intel_huc.h | |||
@@ -36,9 +36,15 @@ struct intel_huc { | |||
36 | }; | 36 | }; |
37 | 37 | ||
38 | void intel_huc_init_early(struct intel_huc *huc); | 38 | void intel_huc_init_early(struct intel_huc *huc); |
39 | int intel_huc_init_misc(struct intel_huc *huc); | ||
39 | int intel_huc_auth(struct intel_huc *huc); | 40 | int intel_huc_auth(struct intel_huc *huc); |
40 | int intel_huc_check_status(struct intel_huc *huc); | 41 | int intel_huc_check_status(struct intel_huc *huc); |
41 | 42 | ||
43 | static inline void intel_huc_fini_misc(struct intel_huc *huc) | ||
44 | { | ||
45 | intel_uc_fw_fini(&huc->fw); | ||
46 | } | ||
47 | |||
42 | static inline int intel_huc_sanitize(struct intel_huc *huc) | 48 | static inline int intel_huc_sanitize(struct intel_huc *huc) |
43 | { | 49 | { |
44 | intel_uc_fw_sanitize(&huc->fw); | 50 | intel_uc_fw_sanitize(&huc->fw); |