xref: /linux/drivers/gpu/drm/xe/xe_guc_ads.h (revision af0bc3ac9a9e830cb52b718ecb237c4e76a466be)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2022 Intel Corporation
4  */
5 
6 #ifndef _XE_GUC_ADS_H_
7 #define _XE_GUC_ADS_H_
8 
9 #include <linux/types.h>
10 
11 struct xe_guc_ads;
12 
13 int xe_guc_ads_init(struct xe_guc_ads *ads);
14 int xe_guc_ads_init_post_hwconfig(struct xe_guc_ads *ads);
15 void xe_guc_ads_populate(struct xe_guc_ads *ads);
16 void xe_guc_ads_populate_minimal(struct xe_guc_ads *ads);
17 void xe_guc_ads_populate_post_load(struct xe_guc_ads *ads);
18 int xe_guc_ads_scheduler_policy_toggle_reset(struct xe_guc_ads *ads,
19 					     bool enable_engine_reset);
20 
21 #endif
22