diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_uc_fw.h')
| -rw-r--r-- | drivers/gpu/drm/i915/intel_uc_fw.h | 10 | 
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_uc_fw.h b/drivers/gpu/drm/i915/intel_uc_fw.h index 0e3bd580e267..ff98f8661d72 100644 --- a/drivers/gpu/drm/i915/intel_uc_fw.h +++ b/drivers/gpu/drm/i915/intel_uc_fw.h @@ -27,7 +27,6 @@  struct drm_printer;  struct drm_i915_private; -struct i915_vma;  /* Home of GuC, HuC and DMC firmwares */  #define INTEL_UC_FIRMWARE_URL "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915" @@ -102,7 +101,8 @@ static inline const char *intel_uc_fw_type_repr(enum intel_uc_fw_type type)  }  static inline -void intel_uc_fw_init(struct intel_uc_fw *uc_fw, enum intel_uc_fw_type type) +void intel_uc_fw_init_early(struct intel_uc_fw *uc_fw, +			    enum intel_uc_fw_type type)  {  	uc_fw->path = NULL;  	uc_fw->fetch_status = INTEL_UC_FIRMWARE_NONE; @@ -144,10 +144,12 @@ static inline u32 intel_uc_fw_get_upload_size(struct intel_uc_fw *uc_fw)  void intel_uc_fw_fetch(struct drm_i915_private *dev_priv,  		       struct intel_uc_fw *uc_fw); +void intel_uc_fw_cleanup_fetch(struct intel_uc_fw *uc_fw);  int intel_uc_fw_upload(struct intel_uc_fw *uc_fw, -		       int (*xfer)(struct intel_uc_fw *uc_fw, -				   struct i915_vma *vma)); +		       int (*xfer)(struct intel_uc_fw *uc_fw)); +int intel_uc_fw_init(struct intel_uc_fw *uc_fw);  void intel_uc_fw_fini(struct intel_uc_fw *uc_fw); +u32 intel_uc_fw_ggtt_offset(struct intel_uc_fw *uc_fw);  void intel_uc_fw_dump(const struct intel_uc_fw *uc_fw, struct drm_printer *p);  #endif  | 

