File Index
Files and directories
Sign in
FILE

xe_sriov_pf_service.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/xe/xe_sriov_pf_service.h C
 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
~/ Read-only file preview.