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
This commit is contained in:

committed by
Chris Wilson

parent
267e80ee6a
commit
95ebcda3ef
@@ -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)
|
||||
|
Reference in New Issue
Block a user