Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright © 2025 Intel Corporation
4 */
5
6#ifndef _XE_SRIOV_PF_SERVICE_H_
7#define _XE_SRIOV_PF_SERVICE_H_
8
9#include <linux/types.h>
10
11struct drm_printer;
12struct xe_device;
13
14void xe_sriov_pf_service_init(struct xe_device *xe);
15void xe_sriov_pf_service_print_versions(struct xe_device *xe, struct drm_printer *p);
16
17int xe_sriov_pf_service_handshake_vf(struct xe_device *xe, u32 vfid,
18 u32 wanted_major, u32 wanted_minor,
19 u32 *major, u32 *minor);
20bool xe_sriov_pf_service_is_negotiated(struct xe_device *xe, u32 vfid, u32 major, u32 minor);
21void xe_sriov_pf_service_reset_vf(struct xe_device *xe, unsigned int vfid);
22
23#endif