From e42a51fb9c0f386d3ebb115d081896d41eb844af Mon Sep 17 00:00:00 2001 From: Michal Wajdeczko Date: Tue, 23 Apr 2024 15:12:42 +0200 Subject: drm/xe/pf: Expose SR-IOV VFs configuration over debugfs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We already have functions to configure VF resources and to print actual provisioning details. Expose this functionality in debugfs to allow experiment with different settings or inspect details in case of unexpected issues with the provisioning. As debugfs attributes are per-VF, we use parent d_inode->i_private to store VFID, similarly how we did for per-GT attributes. Reviewed-by: Piotr PiĆ³rkowski Signed-off-by: Michal Wajdeczko Link: https://patchwork.freedesktop.org/patch/msgid/20240423131244.2045-2-michal.wajdeczko@intel.com --- drivers/gpu/drm/xe/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/drm/xe/Makefile') diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile index 4fba50036539..efd660553673 100644 --- a/drivers/gpu/drm/xe/Makefile +++ b/drivers/gpu/drm/xe/Makefile @@ -163,6 +163,7 @@ xe-$(CONFIG_PCI_IOV) += \ xe_gt_sriov_pf.o \ xe_gt_sriov_pf_config.o \ xe_gt_sriov_pf_control.o \ + xe_gt_sriov_pf_debugfs.o \ xe_gt_sriov_pf_policy.o \ xe_gt_sriov_pf_service.o \ xe_lmtt.o \ -- cgit