Searched refs:huc (Results 1 – 14 of 14) sorted by relevance
/drivers/gpu/drm/i915/gt/uc/ |
D | intel_huc.c | 40 void intel_huc_init_early(struct intel_huc *huc) in intel_huc_init_early() argument 42 struct drm_i915_private *i915 = huc_to_gt(huc)->i915; in intel_huc_init_early() 44 intel_uc_fw_init_early(&huc->fw, INTEL_UC_FW_TYPE_HUC); in intel_huc_init_early() 47 huc->status.reg = GEN11_HUC_KERNEL_LOAD_INFO; in intel_huc_init_early() 48 huc->status.mask = HUC_LOAD_SUCCESSFUL; in intel_huc_init_early() 49 huc->status.value = HUC_LOAD_SUCCESSFUL; in intel_huc_init_early() 51 huc->status.reg = HUC_STATUS2; in intel_huc_init_early() 52 huc->status.mask = HUC_FW_VERIFIED; in intel_huc_init_early() 53 huc->status.value = HUC_FW_VERIFIED; in intel_huc_init_early() 57 static int intel_huc_rsa_data_create(struct intel_huc *huc) in intel_huc_rsa_data_create() argument [all …]
|
D | intel_huc.h | 27 void intel_huc_init_early(struct intel_huc *huc); 28 int intel_huc_init(struct intel_huc *huc); 29 void intel_huc_fini(struct intel_huc *huc); 30 int intel_huc_auth(struct intel_huc *huc); 31 int intel_huc_check_status(struct intel_huc *huc); 33 static inline int intel_huc_sanitize(struct intel_huc *huc) in intel_huc_sanitize() argument 35 intel_uc_fw_sanitize(&huc->fw); in intel_huc_sanitize() 39 static inline bool intel_huc_is_supported(struct intel_huc *huc) in intel_huc_is_supported() argument 41 return intel_uc_fw_is_supported(&huc->fw); in intel_huc_is_supported() 44 static inline bool intel_huc_is_wanted(struct intel_huc *huc) in intel_huc_is_wanted() argument [all …]
|
D | intel_huc_debugfs.c | 14 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()
|
D | intel_uc.c | 121 intel_huc_init_early(&uc->huc); in intel_uc_init_early() 288 intel_uc_fw_change_status(&uc->huc.fw, in __uc_fetch_firmwares() 296 intel_uc_fw_fetch(&uc->huc.fw); in __uc_fetch_firmwares() 301 intel_uc_fw_cleanup_fetch(&uc->huc.fw); in __uc_cleanup_firmwares() 308 struct intel_huc *huc = &uc->huc; in __uc_init() local 324 ret = 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() 438 struct intel_huc *huc = &uc->huc; in __uc_init_hw() local [all …]
|
D | intel_huc_fw.c | 22 int intel_huc_fw_upload(struct intel_huc *huc) in intel_huc_fw_upload() argument 25 return intel_uc_fw_upload(&huc->fw, 0, HUC_UKERNEL); in intel_huc_fw_upload()
|
D | intel_uc.h | 31 struct intel_huc huc; member 86 uc_state_checkers(huc, huc);
|
D | intel_huc_fw.h | 11 int intel_huc_fw_upload(struct intel_huc *huc);
|
D | intel_huc_debugfs.h | 12 void intel_huc_debugfs_register(struct intel_huc *huc, struct dentry *root);
|
D | intel_uc_debugfs.c | 58 intel_huc_debugfs_register(&uc->huc, root); in intel_uc_debugfs_register()
|
D | intel_uc_fw.c | 21 return container_of(uc_fw, struct intel_gt, uc.huc.fw); in ____uc_fw_to_gt()
|
/drivers/gpu/drm/i915/gt/ |
D | intel_gt.h | 32 static inline struct intel_gt *huc_to_gt(struct intel_huc *huc) in huc_to_gt() argument 34 return container_of(huc, struct intel_gt, uc.huc); in huc_to_gt()
|
/drivers/gpu/drm/i915/ |
D | i915_getparam.c | 99 value = intel_huc_check_status(&i915->gt.uc.huc); in i915_getparam_ioctl()
|
D | intel_wopcm.c | 225 u32 huc_fw_size = intel_uc_fw_get_upload_size(>->uc.huc.fw); in intel_wopcm_init()
|
D | i915_gpu_error.c | 1524 memcpy(&error_uc->huc_fw, &uc->huc.fw, sizeof(uc->huc.fw)); in gt_record_uc() 1531 error_uc->huc_fw.path = kstrdup(uc->huc.fw.path, ALLOW_FAIL); in gt_record_uc()
|