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
11struct intel_gsc_uc;
12struct intel_uc_fw;
13struct intel_uncore;
14
15int intel_gsc_fw_get_binary_info(struct intel_uc_fw *gsc_fw, const void *data, size_t size);
16int intel_gsc_uc_fw_upload(struct intel_gsc_uc *gsc);
17bool intel_gsc_uc_fw_init_done(struct intel_gsc_uc *gsc);
18bool intel_gsc_uc_fw_proxy_init_done(struct intel_gsc_uc *gsc, bool needs_wakeref);
19int intel_gsc_uc_fw_proxy_get_status(struct intel_gsc_uc *gsc);
20
21#endif
22

source code of linux/drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.h