summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_huc.h
diff options
context:
space:
mode:
authorFernando Pacheco <fernando.pacheco@intel.com>2019-04-20 02:00:11 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2019-04-20 10:18:52 +0300
commit95ebcda3ef4fa2c928e2e0dbe0f707ca90852110 (patch)
tree9c6975ceeb90c33e92f70522edc9c30ad7f7c0a9 /drivers/gpu/drm/i915/intel_huc.h
parent267e80ee6a341bc694406ef7c4f30fa2721610b7 (diff)
downloadlinux-95ebcda3ef4fa2c928e2e0dbe0f707ca90852110.tar.xz
drm/i915/uc: Rename uC firmware init/fini functions
he uC firmware init function is called during GuC/HuC init early phases. Rename to include "_early" and properly reflect which phase we are at. The uC firmware fini function is cleaning up the state set/created on firmware fetch. Replace "_fini" with "_cleanup_fetch". v2: also rename uC fw fini function Signed-off-by: Fernando Pacheco <fernando.pacheco@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/20190419230015.18121-2-fernando.pacheco@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_huc.h')
-rw-r--r--drivers/gpu/drm/i915/intel_huc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_huc.h b/drivers/gpu/drm/i915/intel_huc.h
index 7e41d870b509..ce129e301961 100644
--- a/drivers/gpu/drm/i915/intel_huc.h
+++ b/drivers/gpu/drm/i915/intel_huc.h
@@ -42,7 +42,7 @@ int intel_huc_check_status(struct intel_huc *huc);
static inline void intel_huc_fini_misc(struct intel_huc *huc)
{
- intel_uc_fw_fini(&huc->fw);
+ intel_uc_fw_cleanup_fetch(&huc->fw);
}
static inline int intel_huc_sanitize(struct intel_huc *huc)