Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.10-rc4 30 lines 586 B view raw
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2023-2024 Intel Corporation 4 */ 5 6#ifndef _XE_SRIOV_PF_H_ 7#define _XE_SRIOV_PF_H_ 8 9#include <linux/types.h> 10 11struct drm_printer; 12struct xe_device; 13 14#ifdef CONFIG_PCI_IOV 15bool xe_sriov_pf_readiness(struct xe_device *xe); 16int xe_sriov_pf_init_early(struct xe_device *xe); 17void xe_sriov_pf_print_vfs_summary(struct xe_device *xe, struct drm_printer *p); 18#else 19static inline bool xe_sriov_pf_readiness(struct xe_device *xe) 20{ 21 return false; 22} 23 24static inline int xe_sriov_pf_init_early(struct xe_device *xe) 25{ 26 return 0; 27} 28#endif 29 30#endif