/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_uc_fw.h | 17 int xe_uc_fw_init(struct xe_uc_fw *uc_fw); 18 size_t xe_uc_fw_copy_rsa(struct xe_uc_fw *uc_fw, void *dst, u32 max_len); 19 int xe_uc_fw_upload(struct xe_uc_fw *uc_fw, u32 offset, u32 dma_flags); 20 int xe_uc_fw_check_version_requirements(struct xe_uc_fw *uc_fw); 21 void xe_uc_fw_print(struct xe_uc_fw *uc_fw, struct drm_printer *p); 23 static inline u32 xe_uc_fw_rsa_offset(struct xe_uc_fw *uc_fw) argument 25 return sizeof(struct uc_css_header) + uc_fw->ucode_size + uc_fw->css_offset; 28 static inline void xe_uc_fw_change_status(struct xe_uc_fw *uc_fw, argument 31 uc_fw 108 __xe_uc_fw_status(struct xe_uc_fw *uc_fw) argument 115 xe_uc_fw_is_supported(struct xe_uc_fw *uc_fw) argument 120 xe_uc_fw_is_enabled(struct xe_uc_fw *uc_fw) argument 125 xe_uc_fw_is_disabled(struct xe_uc_fw *uc_fw) argument 130 xe_uc_fw_is_available(struct xe_uc_fw *uc_fw) argument 135 xe_uc_fw_is_loadable(struct xe_uc_fw *uc_fw) argument 140 xe_uc_fw_is_loaded(struct xe_uc_fw *uc_fw) argument 145 xe_uc_fw_is_running(struct xe_uc_fw *uc_fw) argument 150 xe_uc_fw_is_overridden(const struct xe_uc_fw *uc_fw) argument 155 xe_uc_fw_sanitize(struct xe_uc_fw *uc_fw) argument 161 __xe_uc_fw_get_upload_size(struct xe_uc_fw *uc_fw) argument 174 xe_uc_fw_get_upload_size(struct xe_uc_fw *uc_fw) argument [all...] |
H A D | xe_uc_fw.c | 165 __uc_fw_to_gt(struct xe_uc_fw *uc_fw, enum xe_uc_fw_type type) argument 171 return container_of(uc_fw, struct xe_gt, uc.guc.fw); 173 return container_of(uc_fw, struct xe_gt, uc.huc.fw); 175 return container_of(uc_fw, struct xe_gt, uc.gsc.fw); 181 static struct xe_gt *uc_fw_to_gt(struct xe_uc_fw *uc_fw) argument 183 return __uc_fw_to_gt(uc_fw, uc_fw->type); 186 static struct xe_device *uc_fw_to_xe(struct xe_uc_fw *uc_fw) argument 188 return gt_to_xe(uc_fw_to_gt(uc_fw)); 192 uc_fw_auto_select(struct xe_device *xe, struct xe_uc_fw *uc_fw) argument 240 uc_fw_override(struct xe_uc_fw *uc_fw) argument 275 xe_uc_fw_copy_rsa(struct xe_uc_fw *uc_fw, void *dst, u32 max_len) argument 291 struct xe_uc_fw *uc_fw = arg; local 299 guc_read_css_info(struct xe_uc_fw *uc_fw, struct uc_css_header *css) argument 331 xe_uc_fw_check_version_requirements(struct xe_uc_fw *uc_fw) argument 377 parse_css_header(struct xe_uc_fw *uc_fw, const void *fw_data, size_t fw_size) argument 454 parse_cpd_header(struct xe_uc_fw *uc_fw, const void *data, size_t size, const char *manifest_entry, const char *css_entry) argument 540 parse_gsc_layout(struct xe_uc_fw *uc_fw, const void *data, size_t size) argument 607 parse_headers(struct xe_uc_fw *uc_fw, const struct firmware *fw) argument 644 uc_fw_request(struct xe_uc_fw *uc_fw, const struct firmware **firmware_p) argument 725 uc_fw_copy(struct xe_uc_fw *uc_fw, const void *data, size_t size, u32 flags) argument 760 xe_uc_fw_init(struct xe_uc_fw *uc_fw) argument 781 uc_fw_ggtt_offset(struct xe_uc_fw *uc_fw) argument 786 uc_fw_xfer(struct xe_uc_fw *uc_fw, u32 offset, u32 dma_flags) argument 829 xe_uc_fw_upload(struct xe_uc_fw *uc_fw, u32 offset, u32 dma_flags) argument 868 xe_uc_fw_print(struct xe_uc_fw *uc_fw, struct drm_printer *p) argument [all...] |
H A D | xe_guc.c | 142 struct xe_uc_fw *uc_fw = &guc->fw; local 143 struct xe_uc_fw_version *version = &uc_fw->versions.found[XE_UC_FW_VER_RELEASE];
|
/linux-master/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_uc_fw.h | 141 void intel_uc_fw_change_status(struct intel_uc_fw *uc_fw, 144 static inline void intel_uc_fw_change_status(struct intel_uc_fw *uc_fw, argument 147 uc_fw->__status = status; 224 __intel_uc_fw_status(struct intel_uc_fw *uc_fw) argument 227 GEM_BUG_ON(uc_fw->status == INTEL_UC_FIRMWARE_UNINITIALIZED); 228 return uc_fw->status; 231 static inline bool intel_uc_fw_is_supported(struct intel_uc_fw *uc_fw) argument 233 return __intel_uc_fw_status(uc_fw) != INTEL_UC_FIRMWARE_NOT_SUPPORTED; 236 static inline bool intel_uc_fw_is_enabled(struct intel_uc_fw *uc_fw) argument 238 return __intel_uc_fw_status(uc_fw) > INTEL_UC_FIRMWARE_DISABLE 241 intel_uc_fw_is_available(struct intel_uc_fw *uc_fw) argument 246 intel_uc_fw_is_loadable(struct intel_uc_fw *uc_fw) argument 251 intel_uc_fw_is_loaded(struct intel_uc_fw *uc_fw) argument 256 intel_uc_fw_is_running(struct intel_uc_fw *uc_fw) argument 261 intel_uc_fw_is_overridden(const struct intel_uc_fw *uc_fw) argument 266 intel_uc_fw_sanitize(struct intel_uc_fw *uc_fw) argument 272 __intel_uc_fw_get_upload_size(struct intel_uc_fw *uc_fw) argument 285 intel_uc_fw_get_upload_size(struct intel_uc_fw *uc_fw) argument [all...] |
H A D | intel_uc_fw.c | 30 ____uc_fw_to_gt(struct intel_uc_fw *uc_fw, enum intel_uc_fw_type type) argument 36 return container_of(uc_fw, struct intel_gt, uc.guc.fw); 38 return container_of(uc_fw, struct intel_gt, uc.huc.fw); 40 return container_of(uc_fw, struct intel_gt, uc.gsc.fw); 46 static inline struct intel_gt *__uc_fw_to_gt(struct intel_uc_fw *uc_fw) argument 48 GEM_BUG_ON(uc_fw->status == INTEL_UC_FIRMWARE_UNINITIALIZED); 49 return ____uc_fw_to_gt(uc_fw, uc_fw->type); 53 void intel_uc_fw_change_status(struct intel_uc_fw *uc_fw, argument 56 uc_fw 284 __uc_fw_auto_select(struct drm_i915_private *i915, struct intel_uc_fw *uc_fw) argument 468 __uc_fw_user_override(struct drm_i915_private *i915, struct intel_uc_fw *uc_fw) argument 510 intel_uc_fw_init_early(struct intel_uc_fw *uc_fw, enum intel_uc_fw_type type, bool needs_ggtt_mapping) argument 545 __force_fw_fetch_failures(struct intel_uc_fw *uc_fw, int e) argument 590 guc_read_css_info(struct intel_uc_fw *uc_fw, struct uc_css_header *css) argument 638 __check_ccs_header(struct intel_gt *gt, const void *fw_data, size_t fw_size, struct intel_uc_fw *uc_fw) argument 697 check_gsc_manifest(struct intel_gt *gt, const struct firmware *fw, struct intel_uc_fw *uc_fw) argument 722 check_ccs_header(struct intel_gt *gt, const struct firmware *fw, struct intel_uc_fw *uc_fw) argument 734 guc_check_version_range(struct intel_uc_fw *uc_fw) argument 766 check_fw_header(struct intel_gt *gt, const struct firmware *fw, struct intel_uc_fw *uc_fw) argument 782 try_firmware_load(struct intel_uc_fw *uc_fw, const struct firmware **fw) argument 841 intel_uc_check_file_version(struct intel_uc_fw *uc_fw, bool *old_ver) argument 889 intel_uc_fw_fetch(struct intel_uc_fw *uc_fw) argument 1004 uc_fw_ggtt_offset(struct intel_uc_fw *uc_fw) argument 1032 uc_fw_bind_ggtt(struct intel_uc_fw *uc_fw) argument 1067 uc_fw_unbind_ggtt(struct intel_uc_fw *uc_fw) argument 1078 uc_fw_xfer(struct intel_uc_fw *uc_fw, u32 dst_offset, u32 dma_flags) argument 1127 intel_uc_fw_mark_load_failed(struct intel_uc_fw *uc_fw, int err) argument 1150 intel_uc_fw_upload(struct intel_uc_fw *uc_fw, u32 dst_offset, u32 dma_flags) argument 1177 uc_fw_need_rsa_in_memory(struct intel_uc_fw *uc_fw) argument 1187 uc_fw_rsa_data_create(struct intel_uc_fw *uc_fw) argument 1241 uc_fw_rsa_data_destroy(struct intel_uc_fw *uc_fw) argument 1246 intel_uc_fw_init(struct intel_uc_fw *uc_fw) argument 1280 intel_uc_fw_fini(struct intel_uc_fw *uc_fw) argument 1291 intel_uc_fw_resume_mapping(struct intel_uc_fw *uc_fw) argument 1308 intel_uc_fw_cleanup_fetch(struct intel_uc_fw *uc_fw) argument 1327 intel_uc_fw_copy_rsa(struct intel_uc_fw *uc_fw, void *dst, u32 max_len) argument 1397 intel_uc_fw_dump(const struct intel_uc_fw *uc_fw, struct drm_printer *p) argument [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_ggtt.c | 795 ret = i915_gem_gtt_reserve(&ggtt->vm, NULL, &ggtt->uc_fw, 807 if (drm_mm_node_allocated(&ggtt->uc_fw)) 808 drm_mm_remove_node(&ggtt->uc_fw);
|
H A D | intel_gtt.h | 403 struct drm_mm_node uc_fw; member in struct:i915_ggtt
|