xref: /linux/drivers/gpu/drm/xe/xe_guc_pc.h (revision 7b076d14f21a48de572e5191614b3e6b2d6ab823)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2022 Intel Corporation
4  */
5 
6 #ifndef _XE_GUC_PC_H_
7 #define _XE_GUC_PC_H_
8 
9 #include "xe_guc_pc_types.h"
10 
11 int xe_guc_pc_init(struct xe_guc_pc *pc);
12 int xe_guc_pc_start(struct xe_guc_pc *pc);
13 int xe_guc_pc_stop(struct xe_guc_pc *pc);
14 
15 enum xe_gt_idle_state xe_guc_pc_c_status(struct xe_guc_pc *pc);
16 u64 xe_guc_pc_rc6_residency(struct xe_guc_pc *pc);
17 u64 xe_guc_pc_mc6_residency(struct xe_guc_pc *pc);
18 #endif /* _XE_GUC_PC_H_ */
19