/linux-6.3-rc2/drivers/gpu/drm/i915/gt/uc/ |
A D | intel_huc.c | 89 __gsc_init_error(huc); in gsc_init_error() 118 __gsc_init_error(huc); in huc_delayed_load_timer_callback() 142 gsc_init_error(huc); in huc_delayed_load_start() 172 gsc_init_done(huc); in gsc_notifier() 179 gsc_init_error(huc); in gsc_notifier() 199 gsc_init_error(huc); in intel_huc_register_gsc_notifier() 275 delayed_huc_load_init(huc); in intel_huc_init_early() 383 huc->status.reg, in intel_huc_wait_for_auth_complete() 384 huc->status.mask, in intel_huc_wait_for_auth_complete() 385 huc->status.value, in intel_huc_wait_for_auth_complete() [all …]
|
A D | intel_huc.h | 45 int intel_huc_init(struct intel_huc *huc); 46 void intel_huc_fini(struct intel_huc *huc); 47 void intel_huc_suspend(struct intel_huc *huc); 48 int intel_huc_auth(struct intel_huc *huc); 59 intel_uc_fw_sanitize(&huc->fw); in intel_huc_sanitize() 65 return intel_uc_fw_is_supported(&huc->fw); in intel_huc_is_supported() 70 return intel_uc_fw_is_enabled(&huc->fw); in intel_huc_is_wanted() 76 return intel_uc_fw_is_available(&huc->fw); in intel_huc_is_used() 81 return huc->fw.loaded_via_gsc; in intel_huc_is_loaded_by_gsc() 86 return intel_huc_is_used(huc) && intel_huc_is_loaded_by_gsc(huc) && in intel_huc_wait_required() [all …]
|
A D | intel_huc_fw.c | 13 int intel_huc_fw_load_and_auth_via_gsc(struct intel_huc *huc) in intel_huc_fw_load_and_auth_via_gsc() argument 17 if (!intel_huc_is_loaded_by_gsc(huc)) in intel_huc_fw_load_and_auth_via_gsc() 20 if (!intel_uc_fw_is_loadable(&huc->fw)) in intel_huc_fw_load_and_auth_via_gsc() 28 if (intel_huc_is_authenticated(huc)) { in intel_huc_fw_load_and_auth_via_gsc() 29 intel_uc_fw_change_status(&huc->fw, INTEL_UC_FIRMWARE_RUNNING); in intel_huc_fw_load_and_auth_via_gsc() 33 GEM_WARN_ON(intel_uc_fw_is_loaded(&huc->fw)); in intel_huc_fw_load_and_auth_via_gsc() 35 ret = intel_pxp_huc_load_and_auth(huc_to_gt(huc)->i915->pxp); in intel_huc_fw_load_and_auth_via_gsc() 41 return intel_huc_wait_for_auth_complete(huc); in intel_huc_fw_load_and_auth_via_gsc() 56 int intel_huc_fw_upload(struct intel_huc *huc) in intel_huc_fw_upload() argument 58 if (intel_huc_is_loaded_by_gsc(huc)) in intel_huc_fw_upload() [all …]
|
A 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()
|
A D | intel_uc.c | 132 intel_huc_init_early(&uc->huc); in intel_uc_init_early() 312 intel_uc_fw_fetch(&uc->huc.fw); in __uc_fetch_firmwares() 328 struct intel_huc *huc = &uc->huc; in __uc_init() local 344 intel_huc_init(huc); in __uc_init() 355 intel_huc_fini(&uc->huc); in __uc_fini() 362 struct intel_huc *huc = &uc->huc; in __uc_sanitize() local 366 intel_huc_sanitize(huc); in __uc_sanitize() 465 struct intel_huc *huc = &uc->huc; in __uc_init_hw() local 474 print_fw_ver(gt, &huc->fw); in __uc_init_hw() 508 intel_huc_fw_upload(huc); in __uc_init_hw() [all …]
|
A D | intel_huc_fw.h | 11 int intel_huc_fw_load_and_auth_via_gsc(struct intel_huc *huc); 12 int intel_huc_fw_upload(struct intel_huc *huc);
|
A D | intel_uc.h | 33 struct intel_huc huc; member 88 uc_state_checkers(huc, huc);
|
A D | intel_huc_debugfs.h | 12 void intel_huc_debugfs_register(struct intel_huc *huc, struct dentry *root);
|
A D | intel_uc_debugfs.c | 60 intel_huc_debugfs_register(&uc->huc, root); in intel_uc_debugfs_register()
|
A D | intel_uc_fw.c | 28 return container_of(uc_fw, struct intel_gt, uc.huc.fw); in ____uc_fw_to_gt()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/pxp/ |
A D | intel_pxp_huc.c | 20 struct intel_huc *huc; in intel_pxp_huc_load_and_auth() local 32 huc = >->uc.huc; in intel_pxp_huc_load_and_auth() 34 huc_phys_addr = i915_gem_object_get_dma_address(huc->fw.obj, 0); in intel_pxp_huc_load_and_auth()
|
A D | intel_pxp_tee.c | 135 if (intel_uc_uses_huc(uc) && intel_huc_is_loaded_by_gsc(&uc->huc)) { in i915_pxp_tee_component_bind() 138 ret = intel_huc_fw_load_and_auth_via_gsc(&uc->huc); in i915_pxp_tee_component_bind()
|
A D | intel_pxp.c | 154 intel_huc_is_loaded_by_gsc(&i915->gt0.uc.huc) && intel_uc_uses_huc(&i915->gt0.uc)) in find_gt_for_required_teelink()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/ |
A D | intel_gt.h | 37 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()
|
A D | intel_gsc.c | 149 intel_huc_unregister_gsc_notifier(&gsc_to_gt(gsc)->uc.huc, in gsc_destroy_one() 263 intel_huc_register_gsc_notifier(&gsc_to_gt(gsc)->uc.huc, in gsc_init_one() 270 intel_huc_unregister_gsc_notifier(&gsc_to_gt(gsc)->uc.huc, in gsc_init_one()
|
A D | intel_wopcm.c | 238 u32 huc_fw_size = intel_uc_fw_get_upload_size(>->uc.huc.fw); in intel_wopcm_init()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/ |
A D | i915_getparam.c | 101 value = intel_huc_check_status(&to_gt(i915)->uc.huc); in i915_getparam_ioctl()
|
A D | i915_request.c | 1627 struct intel_huc *huc = &rq->context->engine->gt->uc.huc; in i915_request_await_huc() local 1633 if (intel_huc_wait_required(huc)) in i915_request_await_huc() 1635 &huc->delayed_load.fence, in i915_request_await_huc()
|
A D | i915_gpu_error.c | 1714 memcpy(&error_uc->huc_fw, &uc->huc.fw, sizeof(uc->huc.fw)); in gt_record_uc() 1717 error_uc->huc_fw.file_selected.path = kstrdup(uc->huc.fw.file_selected.path, ALLOW_FAIL); in gt_record_uc() 1719 error_uc->huc_fw.file_wanted.path = kstrdup(uc->huc.fw.file_wanted.path, ALLOW_FAIL); in gt_record_uc()
|