/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/ ! |
D | intel_huc.c | 81 static void __delayed_huc_load_complete(struct intel_huc *huc) in __delayed_huc_load_complete() argument 83 if (!i915_sw_fence_done(&huc->delayed_load.fence)) in __delayed_huc_load_complete() 84 i915_sw_fence_complete(&huc->delayed_load.fence); in __delayed_huc_load_complete() 87 static void delayed_huc_load_complete(struct intel_huc *huc) in delayed_huc_load_complete() argument 89 hrtimer_cancel(&huc->delayed_load.timer); in delayed_huc_load_complete() 90 __delayed_huc_load_complete(huc); in delayed_huc_load_complete() 93 static void __gsc_init_error(struct intel_huc *huc) in __gsc_init_error() argument 95 huc->delayed_load.status = INTEL_HUC_DELAYED_LOAD_ERROR; in __gsc_init_error() 96 __delayed_huc_load_complete(huc); in __gsc_init_error() 99 static void gsc_init_error(struct intel_huc *huc) in gsc_init_error() argument [all …]
|
D | intel_huc.h | 56 int intel_huc_sanitize(struct intel_huc *huc); 57 void intel_huc_init_early(struct intel_huc *huc); 58 int intel_huc_init(struct intel_huc *huc); 59 void intel_huc_fini(struct intel_huc *huc); 60 void intel_huc_suspend(struct intel_huc *huc); 61 int intel_huc_auth(struct intel_huc *huc, enum intel_huc_authentication_type type); 62 int intel_huc_wait_for_auth_complete(struct intel_huc *huc, 64 bool intel_huc_is_authenticated(struct intel_huc *huc, 66 int intel_huc_check_status(struct intel_huc *huc); 67 void intel_huc_update_auth_status(struct intel_huc *huc); [all …]
|
D | intel_huc_fw.c | 27 int intel_huc_fw_auth_via_gsccs(struct intel_huc *huc) in intel_huc_fw_auth_via_gsccs() argument 29 struct intel_gt *gt = huc_to_gt(huc); in intel_huc_fw_auth_via_gsccs() 38 if (!huc->heci_pkt) in intel_huc_fw_auth_via_gsccs() 41 obj = huc->heci_pkt->obj; in intel_huc_fw_auth_via_gsccs() 42 pkt_offset = i915_ggtt_offset(huc->heci_pkt); in intel_huc_fw_auth_via_gsccs() 61 msg_in->huc_in.huc_base_address = huc->fw.vma_res.start; in intel_huc_fw_auth_via_gsccs() 62 msg_in->huc_in.huc_size = huc->fw.obj->base.size; in intel_huc_fw_auth_via_gsccs() 70 huc_err(huc, "failed to submit GSC request to auth: %d\n", err); in intel_huc_fw_auth_via_gsccs() 85 huc_err(huc, "invalid GSC reply length %u [expected %zu]\n", in intel_huc_fw_auth_via_gsccs() 98 huc_err(huc, "auth failed with GSC error = 0x%x\n", in intel_huc_fw_auth_via_gsccs() [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 | 129 intel_huc_init_early(&uc->huc); in intel_uc_init_early() 296 intel_uc_fw_change_status(&uc->huc.fw, in __uc_fetch_firmwares() 310 intel_uc_fw_fetch(&uc->huc.fw); in __uc_fetch_firmwares() 319 intel_uc_fw_cleanup_fetch(&uc->huc.fw); in __uc_cleanup_firmwares() 326 struct intel_huc *huc = &uc->huc; in __uc_init() local 342 intel_huc_init(huc); in __uc_init() 353 intel_huc_fini(&uc->huc); in __uc_fini() 360 struct intel_huc *huc = &uc->huc; in __uc_sanitize() local 364 intel_huc_sanitize(huc); in __uc_sanitize() 466 struct intel_huc *huc = &uc->huc; in __uc_init_hw() local [all …]
|
D | intel_huc_fw.h | 14 int intel_huc_fw_load_and_auth_via_gsc(struct intel_huc *huc); 15 int intel_huc_fw_auth_via_gsccs(struct intel_huc *huc); 16 int intel_huc_fw_upload(struct intel_huc *huc);
|
D | intel_uc.h | 34 struct intel_huc huc; member 90 uc_state_checkers(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 | 64 intel_huc_debugfs_register(&uc->huc, root); in intel_uc_debugfs_register()
|
D | intel_gsc_uc.c | 54 intel_huc_is_authenticated(>->uc.huc, INTEL_HUC_AUTH_BY_GUC)) in gsc_work() 55 intel_huc_auth(>->uc.huc, INTEL_HUC_AUTH_BY_GSC); in gsc_work()
|
D | intel_uc_fw.c | 38 return container_of(uc_fw, struct intel_gt, uc.huc.fw); in ____uc_fw_to_gt()
|
/linux-6.6.21/drivers/gpu/drm/i915/pxp/ ! |
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()
|
D | intel_pxp.c | 165 intel_huc_is_loaded_by_gsc(&to_gt(i915)->uc.huc) && intel_uc_uses_huc(&to_gt(i915)->uc)) in find_gt_for_required_teelink() 184 intel_uc_fw_is_loadable(&i915->media_gt->uc.huc.fw)) in find_gt_for_required_protected_content()
|
D | intel_pxp_tee.c | 173 if (intel_uc_uses_huc(uc) && intel_huc_is_loaded_by_gsc(&uc->huc)) { in i915_pxp_tee_component_bind() 176 ret = intel_huc_fw_load_and_auth_via_gsc(&uc->huc); in i915_pxp_tee_component_bind()
|
D | intel_pxp_gsccs.c | 200 if (intel_huc_is_authenticated(&pxp->ctrl_gt->uc.huc, INTEL_HUC_AUTH_BY_GSC) && in intel_pxp_gsccs_is_ready_for_sessions()
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/ ! |
D | intel_gt.h | 43 static inline struct intel_gt *huc_to_gt(struct intel_huc *huc) in huc_to_gt() argument 45 return container_of(huc, struct intel_gt, uc.huc); in huc_to_gt()
|
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()
|
D | intel_wopcm.c | 238 u32 huc_fw_size = intel_uc_fw_get_upload_size(>->uc.huc.fw); in intel_wopcm_init()
|
/linux-6.6.21/drivers/gpu/drm/i915/ ! |
D | i915_getparam.c | 105 value = intel_huc_check_status(&i915->media_gt->uc.huc); in i915_getparam_ioctl() 107 value = intel_huc_check_status(&to_gt(i915)->uc.huc); in i915_getparam_ioctl()
|
D | i915_request.c | 1623 struct intel_huc *huc = &rq->context->engine->gt->uc.huc; in i915_request_await_huc() local 1629 if (intel_huc_wait_required(huc)) in i915_request_await_huc() 1631 &huc->delayed_load.fence, in i915_request_await_huc()
|
D | i915_gpu_error.c | 1728 memcpy(&error_uc->huc_fw, &uc->huc.fw, sizeof(uc->huc.fw)); in gt_record_uc() 1731 error_uc->huc_fw.file_selected.path = kstrdup(uc->huc.fw.file_selected.path, ALLOW_FAIL); in gt_record_uc() 1733 error_uc->huc_fw.file_wanted.path = kstrdup(uc->huc.fw.file_wanted.path, ALLOW_FAIL); in gt_record_uc()
|