Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
29 lines
657 B
C
29 lines
657 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2022 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_REG_SR_
|
|
#define _XE_REG_SR_
|
|
|
|
/*
|
|
* Reg save/restore bookkeeping
|
|
*/
|
|
|
|
struct xe_device;
|
|
struct xe_gt;
|
|
struct xe_hw_engine;
|
|
struct xe_reg_sr;
|
|
struct xe_reg_sr_entry;
|
|
struct drm_printer;
|
|
|
|
int xe_reg_sr_init(struct xe_reg_sr *sr, const char *name, struct xe_device *xe);
|
|
void xe_reg_sr_dump(struct xe_reg_sr *sr, struct drm_printer *p);
|
|
|
|
int xe_reg_sr_add(struct xe_reg_sr *sr, const struct xe_reg_sr_entry *e,
|
|
struct xe_gt *gt);
|
|
void xe_reg_sr_apply_mmio(struct xe_reg_sr *sr, struct xe_gt *gt);
|
|
void xe_reg_sr_apply_whitelist(struct xe_hw_engine *hwe);
|
|
|
|
#endif
|