| 1 | /* SPDX-License-Identifier: MIT */ |
| 2 | /* |
| 3 | * Copyright © 2023 Intel Corporation |
| 4 | */ |
| 5 | |
| 6 | #ifndef _XE_GT_IDLE_H_ |
| 7 | #define _XE_GT_IDLE_H_ |
| 8 | |
| 9 | #include "xe_gt_idle_types.h" |
| 10 | |
| 11 | struct drm_printer; |
| 12 | struct xe_gt; |
| 13 | |
| 14 | int xe_gt_idle_init(struct xe_gt_idle *gtidle); |
| 15 | void xe_gt_idle_enable_c6(struct xe_gt *gt); |
| 16 | void xe_gt_idle_disable_c6(struct xe_gt *gt); |
| 17 | void xe_gt_idle_enable_pg(struct xe_gt *gt); |
| 18 | void xe_gt_idle_disable_pg(struct xe_gt *gt); |
| 19 | int xe_gt_idle_pg_print(struct xe_gt *gt, struct drm_printer *p); |
| 20 | u64 xe_gt_idle_residency_msec(struct xe_gt_idle *gtidle); |
| 21 | |
| 22 | #endif /* _XE_GT_IDLE_H_ */ |
| 23 | |