Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/i915/gt/uc/
A Dintel_huc.c89 __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 Dintel_huc.h45 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 Dintel_huc_fw.c13 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 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()
A Dintel_uc.c132 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 Dintel_huc_fw.h11 int intel_huc_fw_load_and_auth_via_gsc(struct intel_huc *huc);
12 int intel_huc_fw_upload(struct intel_huc *huc);
A Dintel_uc.h33 struct intel_huc huc; member
88 uc_state_checkers(huc, huc);
A Dintel_huc_debugfs.h12 void intel_huc_debugfs_register(struct intel_huc *huc, struct dentry *root);
A Dintel_uc_debugfs.c60 intel_huc_debugfs_register(&uc->huc, root); in intel_uc_debugfs_register()
A Dintel_uc_fw.c28 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 Dintel_pxp_huc.c20 struct intel_huc *huc; in intel_pxp_huc_load_and_auth() local
32 huc = &gt->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 Dintel_pxp_tee.c135 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 Dintel_pxp.c154 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 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()
A Dintel_gsc.c149 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 Dintel_wopcm.c238 u32 huc_fw_size = intel_uc_fw_get_upload_size(&gt->uc.huc.fw); in intel_wopcm_init()
/linux-6.3-rc2/drivers/gpu/drm/i915/
A Di915_getparam.c101 value = intel_huc_check_status(&to_gt(i915)->uc.huc); in i915_getparam_ioctl()
A Di915_request.c1627 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 Di915_gpu_error.c1714 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()

Completed in 38 milliseconds