Files
linux/drivers/gpu/drm/xe/xe_sriov_pf_debugfs.h
Michal Wajdeczko 1238b84ea3 drm/xe/pf: Promote PF debugfs function to its own file
In upcoming patches, we will build on the PF separate debugfs
tree for all SR-IOV related files and this new code will need
dedicated file. To minimize large diffs later, move existing
function now as-is, so any future modifications will be done
directly in target file.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20250928140029.198847-2-michal.wajdeczko@intel.com
2025-09-29 23:58:41 +02:00

19 lines
397 B
C

/* SPDX-License-Identifier: MIT */
/*
* Copyright © 2025 Intel Corporation
*/
#ifndef _XE_SRIOV_PF_DEBUGFS_H_
#define _XE_SRIOV_PF_DEBUGFS_H_
struct dentry;
struct xe_device;
#ifdef CONFIG_PCI_IOV
void xe_sriov_pf_debugfs_register(struct xe_device *xe, struct dentry *root);
#else
static inline void xe_sriov_pf_debugfs_register(struct xe_device *xe, struct dentry *root) { }
#endif
#endif