mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 15:24:02 -04:00
When the GSC FW is loaded, we need to inform it when a GSCCS reset is coming and then wait 200ms for it to get ready to process the reset. v2: move WA code to GSC file, use variable in Makefile (John) Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: John Harrison <john.c.harrison@intel.com> Reviewed-by: John Harrison <John.C.Harrison@Intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
21 lines
421 B
C
21 lines
421 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_GSC_H_
|
|
#define _XE_GSC_H_
|
|
|
|
#include "xe_gsc_types.h"
|
|
|
|
struct xe_gt;
|
|
|
|
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_wa_14015076503(struct xe_gt *gt, bool prep);
|
|
|
|
#endif
|