Home
last modified time | relevance | path

Searched refs:huc (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/i915/gt/uc/
Dintel_huc.c45 void intel_huc_init_early(struct intel_huc *huc) in intel_huc_init_early() argument
47 struct drm_i915_private *i915 = huc_to_gt(huc)->i915; in intel_huc_init_early()
49 intel_uc_fw_init_early(&huc->fw, INTEL_UC_FW_TYPE_HUC); in intel_huc_init_early()
52 huc->status.reg = GEN11_HUC_KERNEL_LOAD_INFO; in intel_huc_init_early()
53 huc->status.mask = HUC_LOAD_SUCCESSFUL; in intel_huc_init_early()
54 huc->status.value = HUC_LOAD_SUCCESSFUL; in intel_huc_init_early()
56 huc->status.reg = HUC_STATUS2; in intel_huc_init_early()
57 huc->status.mask = HUC_FW_VERIFIED; in intel_huc_init_early()
58 huc->status.value = HUC_FW_VERIFIED; in intel_huc_init_early()
63 static int check_huc_loading_mode(struct intel_huc *huc) in check_huc_loading_mode() argument
[all …]
Dintel_huc.h25 void intel_huc_init_early(struct intel_huc *huc);
26 int intel_huc_init(struct intel_huc *huc);
27 void intel_huc_fini(struct intel_huc *huc);
28 int intel_huc_auth(struct intel_huc *huc);
29 int intel_huc_check_status(struct intel_huc *huc);
30 void intel_huc_update_auth_status(struct intel_huc *huc);
32 static inline int intel_huc_sanitize(struct intel_huc *huc) in intel_huc_sanitize() argument
34 intel_uc_fw_sanitize(&huc->fw); in intel_huc_sanitize()
38 static inline bool intel_huc_is_supported(struct intel_huc *huc) in intel_huc_is_supported() argument
40 return intel_uc_fw_is_supported(&huc->fw); in intel_huc_is_supported()
[all …]
Dintel_huc_debugfs.c14 struct intel_huc *huc = m->private; in huc_info_show() local
17 if (!intel_huc_is_supported(huc)) in huc_info_show()
20 intel_huc_load_status(huc, &p); in huc_info_show()
26 void intel_huc_debugfs_register(struct intel_huc *huc, struct dentry *root) in intel_huc_debugfs_register() argument
32 if (!intel_huc_is_supported(huc)) in intel_huc_debugfs_register()
35 intel_gt_debugfs_register_files(root, files, ARRAY_SIZE(files), huc); in intel_huc_debugfs_register()
Dintel_uc.c128 intel_huc_init_early(&uc->huc); in intel_uc_init_early()
295 intel_uc_fw_change_status(&uc->huc.fw, in __uc_fetch_firmwares()
303 intel_uc_fw_fetch(&uc->huc.fw); in __uc_fetch_firmwares()
308 intel_uc_fw_cleanup_fetch(&uc->huc.fw); in __uc_cleanup_firmwares()
315 struct intel_huc *huc = &uc->huc; in __uc_init() local
331 intel_huc_init(huc); in __uc_init()
338 intel_huc_fini(&uc->huc); in __uc_fini()
345 struct intel_huc *huc = &uc->huc; in __uc_sanitize() local
349 intel_huc_sanitize(huc); in __uc_sanitize()
449 struct intel_huc *huc = &uc->huc; in __uc_init_hw() local
[all …]
Dintel_huc_fw.c22 int intel_huc_fw_upload(struct intel_huc *huc) in intel_huc_fw_upload() argument
24 if (intel_huc_is_loaded_by_gsc(huc)) in intel_huc_fw_upload()
28 return intel_uc_fw_upload(&huc->fw, 0, HUC_UKERNEL); in intel_huc_fw_upload()
Dintel_uc.h31 struct intel_huc huc; member
86 uc_state_checkers(huc, huc);
Dintel_huc_fw.h11 int intel_huc_fw_upload(struct intel_huc *huc);
Dintel_huc_debugfs.h12 void intel_huc_debugfs_register(struct intel_huc *huc, struct dentry *root);
Dintel_uc_debugfs.c60 intel_huc_debugfs_register(&uc->huc, root); in intel_uc_debugfs_register()
Dintel_uc_fw.c26 return container_of(uc_fw, struct intel_gt, uc.huc.fw); in ____uc_fw_to_gt()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_gt.h37 static inline struct intel_gt *huc_to_gt(struct intel_huc *huc) in huc_to_gt() argument
39 return container_of(huc, struct intel_gt, uc.huc); in huc_to_gt()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_getparam.c101 value = intel_huc_check_status(&to_gt(i915)->uc.huc); in i915_getparam_ioctl()
Dintel_wopcm.c234 u32 huc_fw_size = intel_uc_fw_get_upload_size(&gt->uc.huc.fw); in intel_wopcm_init()
Di915_gpu_error.c1708 memcpy(&error_uc->huc_fw, &uc->huc.fw, sizeof(uc->huc.fw)); in gt_record_uc()
1711 error_uc->huc_fw.file_selected.path = kstrdup(uc->huc.fw.file_selected.path, ALLOW_FAIL); in gt_record_uc()
1713 error_uc->huc_fw.file_wanted.path = kstrdup(uc->huc.fw.file_wanted.path, ALLOW_FAIL); in gt_record_uc()