[PATCH v2 0/3] VF: debugfs fixes

Michal Wajdeczko michal.wajdeczko at intel.com
Thu Apr 3 14:26:32 UTC 2025


Some debugfs files exposed under gt0/ or uc/ are not working properly
on VF drivers, so stop showing them if not applicable.

There will be still some bad register accesses done by guc_info, but
this will be fixed by other pending patch [1]

[1] https://patchwork.freedesktop.org/patch/640267/?series=145667&rev=1

Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>

v1: https://patchwork.freedesktop.org/series/146561/#rev1
v2: document guc_debugfs_show helper (Lucas)
    clarify no changes in file structure (Lucas)
    avoid "privileged" word, make it clear it's about VF/PF (Lucas)
    add hint for developers where to add new files (Lucas)

Michal Wajdeczko (3):
  drm/xe/guc: Refactor GuC debugfs initialization
  drm/xe/guc: Don't expose GuC privileged debugfs files if VF
  drm/xe/vf: Don't expose privileged GT debugfs files if VF

 drivers/gpu/drm/xe/xe_gt_debugfs.c  |  30 ++++--
 drivers/gpu/drm/xe/xe_guc_debugfs.c | 148 ++++++++++++++++------------
 2 files changed, 105 insertions(+), 73 deletions(-)

-- 
2.47.1



More information about the Intel-xe mailing list