28 lines · c
1/* SPDX-License-Identifier: MIT */2/*3 * Copyright © 2023 Intel Corporation4 */5 6#ifndef _XE_GSC_H_7#define _XE_GSC_H_8 9#include <linux/types.h>10 11struct drm_printer;12struct xe_gsc;13struct xe_gt;14struct xe_hw_engine;15 16int xe_gsc_init(struct xe_gsc *gsc);17int xe_gsc_init_post_hwconfig(struct xe_gsc *gsc);18void xe_gsc_wait_for_worker_completion(struct xe_gsc *gsc);19void xe_gsc_load_start(struct xe_gsc *gsc);20void xe_gsc_remove(struct xe_gsc *gsc);21void xe_gsc_hwe_irq_handler(struct xe_hw_engine *hwe, u16 intr_vec);22 23void xe_gsc_wa_14015076503(struct xe_gt *gt, bool prep);24 25void xe_gsc_print_info(struct xe_gsc *gsc, struct drm_printer *p);26 27#endif28