]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/uc: Rename uC firmware init/fini functions
authorFernando Pacheco <fernando.pacheco@intel.com>
Fri, 19 Apr 2019 23:00:11 +0000 (16:00 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 20 Apr 2019 07:18:52 +0000 (08:18 +0100)
commite519d2ef3f7b03218c5d83d40874c175301fdc91
tree9c6975ceeb90c33e92f70522edc9c30ad7f7c0a9
parent847934a6decffbb5278c493fe26edad5f7044732
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
drivers/gpu/drm/i915/intel_guc.c
drivers/gpu/drm/i915/intel_guc_fw.c
drivers/gpu/drm/i915/intel_huc.h
drivers/gpu/drm/i915/intel_huc_fw.c
drivers/gpu/drm/i915/intel_uc_fw.c
drivers/gpu/drm/i915/intel_uc_fw.h