xref: /linux/drivers/gpu/drm/xe/xe_guc_pc.h (revision 1da0702c1701c2e1441d86facd9fbb5e73fa374b)
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 void xe_guc_pc_fini(struct xe_guc_pc *pc);
13 int xe_guc_pc_start(struct xe_guc_pc *pc);
14 int xe_guc_pc_stop(struct xe_guc_pc *pc);
15 int xe_guc_pc_gucrc_disable(struct xe_guc_pc *pc);
16 
17 enum xe_gt_idle_state xe_guc_pc_c_status(struct xe_guc_pc *pc);
18 u64 xe_guc_pc_rc6_residency(struct xe_guc_pc *pc);
19 u64 xe_guc_pc_mc6_residency(struct xe_guc_pc *pc);
20 #endif /* _XE_GUC_PC_H_ */
21