xref: /linux/drivers/gpu/drm/xe/xe_uc.h (revision e6a901a00822659181c93c86d8bbc2a17779fddc)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2022 Intel Corporation
4  */
5 
6 #ifndef _XE_UC_H_
7 #define _XE_UC_H_
8 
9 #include "xe_uc_types.h"
10 
11 int xe_uc_init(struct xe_uc *uc);
12 int xe_uc_init_hwconfig(struct xe_uc *uc);
13 int xe_uc_init_post_hwconfig(struct xe_uc *uc);
14 int xe_uc_init_hw(struct xe_uc *uc);
15 int xe_uc_fini_hw(struct xe_uc *uc);
16 void xe_uc_gucrc_disable(struct xe_uc *uc);
17 int xe_uc_reset_prepare(struct xe_uc *uc);
18 void xe_uc_stop_prepare(struct xe_uc *uc);
19 int xe_uc_stop(struct xe_uc *uc);
20 int xe_uc_start(struct xe_uc *uc);
21 int xe_uc_suspend(struct xe_uc *uc);
22 int xe_uc_sanitize_reset(struct xe_uc *uc);
23 void xe_uc_remove(struct xe_uc *uc);
24 
25 #endif
26