1 /* SPDX-License-Identifier: MIT */
3 * Copyright © 2022 Intel Corporation
9 #include "xe_huc_types.h"
13 enum xe_huc_auth_types {
14 XE_HUC_AUTH_VIA_GUC = 0,
16 XE_HUC_AUTH_TYPES_COUNT
19 int xe_huc_init(struct xe_huc *huc);
20 int xe_huc_upload(struct xe_huc *huc);
21 int xe_huc_auth(struct xe_huc *huc, enum xe_huc_auth_types type);
22 bool xe_huc_is_authenticated(struct xe_huc *huc, enum xe_huc_auth_types type);
23 void xe_huc_sanitize(struct xe_huc *huc);
24 void xe_huc_print_info(struct xe_huc *huc, struct drm_printer *p);