xref: /linux/drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.h (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2022 Intel Corporation
4  */
5 
6 #ifndef _INTEL_GSC_FW_H_
7 #define _INTEL_GSC_FW_H_
8 
9 #include <linux/types.h>
10 
11 struct intel_gsc_uc;
12 struct intel_uc_fw;
13 struct intel_uncore;
14 
15 int intel_gsc_fw_get_binary_info(struct intel_uc_fw *gsc_fw, const void *data, size_t size);
16 int intel_gsc_uc_fw_upload(struct intel_gsc_uc *gsc);
17 bool intel_gsc_uc_fw_init_done(struct intel_gsc_uc *gsc);
18 bool intel_gsc_uc_fw_proxy_init_done(struct intel_gsc_uc *gsc, bool needs_wakeref);
19 int intel_gsc_uc_fw_proxy_get_status(struct intel_gsc_uc *gsc);
20 
21 #endif
22