brintos

brintos / linux-shallow public Read only

0
0
Text · 657 B · 51fbba4 Raw
29 lines · c
1/* SPDX-License-Identifier: MIT */2/*3 * Copyright © 2022 Intel Corporation4 */5 6#ifndef _XE_REG_SR_7#define _XE_REG_SR_8 9/*10 * Reg save/restore bookkeeping11 */12 13struct xe_device;14struct xe_gt;15struct xe_hw_engine;16struct xe_reg_sr;17struct xe_reg_sr_entry;18struct drm_printer;19 20int xe_reg_sr_init(struct xe_reg_sr *sr, const char *name, struct xe_device *xe);21void xe_reg_sr_dump(struct xe_reg_sr *sr, struct drm_printer *p);22 23int xe_reg_sr_add(struct xe_reg_sr *sr, const struct xe_reg_sr_entry *e,24		  struct xe_gt *gt);25void xe_reg_sr_apply_mmio(struct xe_reg_sr *sr, struct xe_gt *gt);26void xe_reg_sr_apply_whitelist(struct xe_hw_engine *hwe);27 28#endif29