mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-14 04:25:22 -04:00
Earlier GuC load will require more fine-grained control over reset. Extract it outside of xe_uc_init_hw. Signed-off-by: Michał Winiarski <michal.winiarski@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
25 lines
632 B
C
25 lines
632 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2022 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_UC_H_
|
|
#define _XE_UC_H_
|
|
|
|
#include "xe_uc_types.h"
|
|
|
|
int xe_uc_init(struct xe_uc *uc);
|
|
int xe_uc_init_hwconfig(struct xe_uc *uc);
|
|
int xe_uc_init_post_hwconfig(struct xe_uc *uc);
|
|
int xe_uc_init_hw(struct xe_uc *uc);
|
|
int xe_uc_fini_hw(struct xe_uc *uc);
|
|
void xe_uc_gucrc_disable(struct xe_uc *uc);
|
|
int xe_uc_reset_prepare(struct xe_uc *uc);
|
|
void xe_uc_stop_prepare(struct xe_uc *uc);
|
|
int xe_uc_stop(struct xe_uc *uc);
|
|
int xe_uc_start(struct xe_uc *uc);
|
|
int xe_uc_suspend(struct xe_uc *uc);
|
|
int xe_uc_sanitize_reset(struct xe_uc *uc);
|
|
|
|
#endif
|