• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2023 Intel Corporation
4  */
5 
6 #ifndef _XE_GSC_H_
7 #define _XE_GSC_H_
8 
9 #include <linux/types.h>
10 
11 struct drm_printer;
12 struct xe_gsc;
13 struct xe_gt;
14 struct xe_hw_engine;
15 
16 int xe_gsc_init(struct xe_gsc *gsc);
17 int xe_gsc_init_post_hwconfig(struct xe_gsc *gsc);
18 void xe_gsc_wait_for_worker_completion(struct xe_gsc *gsc);
19 void xe_gsc_stop_prepare(struct xe_gsc *gsc);
20 void xe_gsc_load_start(struct xe_gsc *gsc);
21 void xe_gsc_remove(struct xe_gsc *gsc);
22 void xe_gsc_hwe_irq_handler(struct xe_hw_engine *hwe, u16 intr_vec);
23 
24 void xe_gsc_wa_14015076503(struct xe_gt *gt, bool prep);
25 
26 void xe_gsc_print_info(struct xe_gsc *gsc, struct drm_printer *p);
27 
28 #endif
29