Loading...
Note: File does not exist in v5.4.
1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright © 2024 Intel Corporation
4 */
5
6#ifndef _XE_GT_SRIOV_PF_MIGRATION_H_
7#define _XE_GT_SRIOV_PF_MIGRATION_H_
8
9#include <linux/types.h>
10
11struct xe_gt;
12
13int xe_gt_sriov_pf_migration_init(struct xe_gt *gt);
14int xe_gt_sriov_pf_migration_save_guc_state(struct xe_gt *gt, unsigned int vfid);
15int xe_gt_sriov_pf_migration_restore_guc_state(struct xe_gt *gt, unsigned int vfid);
16
17#ifdef CONFIG_DEBUG_FS
18ssize_t xe_gt_sriov_pf_migration_read_guc_state(struct xe_gt *gt, unsigned int vfid,
19 char __user *buf, size_t count, loff_t *pos);
20ssize_t xe_gt_sriov_pf_migration_write_guc_state(struct xe_gt *gt, unsigned int vfid,
21 const char __user *buf, size_t count);
22#endif
23
24#endif