mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-27 04:22:58 +00:00
This is useful for debug, in case something goes wrong with the GSC. The info includes the version information and the current value of the HECI1 status registers. Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: John Harrison <John.C.Harrison@Intel.com> Cc: Alan Previn <alan.previn.teres.alexis@intel.com> Reviewed-by: Julia Filipchuk <julia.filipchuk@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240828215158.2743994-5-daniele.ceraolospurio@intel.com
28 lines
653 B
C
28 lines
653 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_GSC_H_
|
|
#define _XE_GSC_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct drm_printer;
|
|
struct xe_gsc;
|
|
struct xe_gt;
|
|
struct xe_hw_engine;
|
|
|
|
int xe_gsc_init(struct xe_gsc *gsc);
|
|
int xe_gsc_init_post_hwconfig(struct xe_gsc *gsc);
|
|
void xe_gsc_wait_for_worker_completion(struct xe_gsc *gsc);
|
|
void xe_gsc_load_start(struct xe_gsc *gsc);
|
|
void xe_gsc_remove(struct xe_gsc *gsc);
|
|
void xe_gsc_hwe_irq_handler(struct xe_hw_engine *hwe, u16 intr_vec);
|
|
|
|
void xe_gsc_wa_14015076503(struct xe_gt *gt, bool prep);
|
|
|
|
void xe_gsc_print_info(struct xe_gsc *gsc, struct drm_printer *p);
|
|
|
|
#endif
|