summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_huc.h
diff options
context:
space:
mode:
authorSagar Arun Kamble <sagar.a.kamble@intel.com>2018-03-01 22:15:45 +0530
committerChris Wilson <chris@chris-wilson.co.uk>2018-03-02 09:04:45 +0000
commit57312eaacd9b6c560032b9c9a755e0165f48ce52 (patch)
tree52c5552e4b4c6e427152b3733123a623c3717064 /drivers/gpu/drm/i915/intel_huc.h
parent8c58f73c48e517f8be7349ef915da871a95641b9 (diff)
downloadlinux-stable-57312eaacd9b6c560032b9c9a755e0165f48ce52.tar.gz
linux-stable-57312eaacd9b6c560032b9c9a755e0165f48ce52.tar.bz2
linux-stable-57312eaacd9b6c560032b9c9a755e0165f48ce52.zip
drm/i915/uc: Make GuC/HuC fw fetch and loading functions/file structure symmetric
GuC load function is named intel_guc_fw_upload() and HuC load function is named intel_huc_init_hw(). Make them consistent intel_*_fw_upload. Also move HuC fw loading functions and declarations to separate files intel_huc_fw.c|h like GuC. While at this, do below changes 1. Update kernel-doc comment for intel_*_fw_upload() functions 2. s/huc_ucode_xfer/huc_fw_xfer 3. Introduce intel_huc_fw_init_early() v2: Changed patch to update HuC functions instead of changing guc_fw_upload and update file structure. (Michal Wajdeczko) v3: Added SPDX License identifier to huc_fw.c|h. (Michal Wajdeczko) Signed-off-by: Sagar Arun Kamble <sagar.a.kamble@intel.com> Cc: Michal Winiarski <michal.winiarski@intel.com> Cc: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Anusha Srivatsa <anusha.srivatsa@intel.com> Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/1519922745-25441-1-git-send-email-sagar.a.kamble@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 40039db59e04..5d6e804f9771 100644
--- a/drivers/gpu/drm/i915/intel_huc.h
+++ b/drivers/gpu/drm/i915/intel_huc.h
@@ -26,6 +26,7 @@
#define _INTEL_HUC_H_
#include "intel_uc_fw.h"
+#include "intel_huc_fw.h"
struct intel_huc {
/* Generic uC firmware management */
@@ -35,7 +36,6 @@ struct intel_huc {
};
void intel_huc_init_early(struct intel_huc *huc);
-int intel_huc_init_hw(struct intel_huc *huc);
int intel_huc_auth(struct intel_huc *huc);
#endif