// SPDX-License-Identifier: MIT /* * Copyright © 2023-2024 Intel Corporation */ #include <linux/debugfs.h> #include <drm/drm_debugfs.h> #include "xe_gt_debugfs.h" #include "xe_gt_sriov_vf.h" #include "xe_gt_sriov_vf_debugfs.h" #include "xe_gt_types.h" #include "xe_sriov.h" /* * /sys/kernel/debug/dri/0/ * ├── gt0 * │ ├── vf * │ │ ├── self_config * │ │ ├── abi_versions * │ │ ├── runtime_regs */ static const struct drm_info_list vf_info[] = …; /** * xe_gt_sriov_vf_debugfs_register - Register SR-IOV VF specific entries in GT debugfs. * @gt: the &xe_gt to register * @root: the &dentry that represents the GT directory * * Register SR-IOV VF entries that are GT related and must be shown under GT debugfs. */ void xe_gt_sriov_vf_debugfs_register(struct xe_gt *gt, struct dentry *root) { … }