mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 07:51:31 -04:00
Move enable/disable GuC RC logic into the new file. This will allow us to independently enable/disable GuC RC and not rely on SLPC related functions. GuC already provides separate H2G interfaces to setup GuC RC and SLPC. Cc: Riana Tauro <riana.tauro@intel.com> Cc: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Riana Tauro <riana.tauro@intel.com> Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com> Link: https://patch.msgid.link/20260204014234.2867763-2-vinay.belgaumkar@intel.com
27 lines
722 B
C
27 lines
722 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2022 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_UC_H_
|
|
#define _XE_UC_H_
|
|
|
|
struct xe_uc;
|
|
|
|
int xe_uc_init_noalloc(struct xe_uc *uc);
|
|
int xe_uc_init(struct xe_uc *uc);
|
|
int xe_uc_init_post_hwconfig(struct xe_uc *uc);
|
|
int xe_uc_load_hw(struct xe_uc *uc);
|
|
int xe_uc_reset_prepare(struct xe_uc *uc);
|
|
void xe_uc_runtime_resume(struct xe_uc *uc);
|
|
void xe_uc_runtime_suspend(struct xe_uc *uc);
|
|
void xe_uc_stop_prepare(struct xe_uc *uc);
|
|
void xe_uc_stop(struct xe_uc *uc);
|
|
int xe_uc_start(struct xe_uc *uc);
|
|
void xe_uc_suspend_prepare(struct xe_uc *uc);
|
|
int xe_uc_suspend(struct xe_uc *uc);
|
|
int xe_uc_sanitize_reset(struct xe_uc *uc);
|
|
void xe_uc_declare_wedged(struct xe_uc *uc);
|
|
|
|
#endif
|