Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RFC v2 0/1] Do not create drm device for PF only admin mode
@ 2026-02-23 15:09 Satyanarayana K V P
  2026-02-23 15:09 ` [RFC v2 1/1] drm/xe/pf: Skip creating DRM device entries in PF admin‑only mode Satyanarayana K V P
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Satyanarayana K V P @ 2026-02-23 15:09 UTC (permalink / raw)
  To: intel-xe; +Cc: Satyanarayana K V P

When the PF is configured for admin‑only mode, it is restricted to
management functions and should not expose a device node that would allow
users to run workloads.

In this mode, no DRM device entry is created; however, sysfs and debugfs
interfaces for the PF remain available at:

sysfs: /sys/devices/pci0000:00/<B:D:F>
debugfs: /sys/kernel/debug/dri/<B:D:F>

V2 -> V3:
- Introduced new helper function xe_debugfs_create_files() to create
debugfs entries based on admin_only_pf mode or normal mode.

V1 -> V2:
- Rebased to latest drm-tip.
- Update update_minor_dev() to debugfs_minor_dev().

Satyanarayana K V P (1):
  drm/xe/pf: Skip creating DRM device entries in PF admin‑only mode

 drivers/gpu/drm/xe/Makefile                   |  1 +
 drivers/gpu/drm/xe/xe_debugfs.c               | 18 +++--
 drivers/gpu/drm/xe/xe_debugfs_helpers.c       | 78 +++++++++++++++++++
 drivers/gpu/drm/xe/xe_debugfs_helpers.h       | 27 +++++++
 drivers/gpu/drm/xe/xe_device.c                | 20 +++--
 drivers/gpu/drm/xe/xe_gsc_debugfs.c           |  8 +-
 drivers/gpu/drm/xe/xe_gt_debugfs.c            | 20 +++--
 drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c   |  5 +-
 drivers/gpu/drm/xe/xe_gt_sriov_vf_debugfs.c   |  5 +-
 drivers/gpu/drm/xe/xe_guc_debugfs.c           | 20 ++---
 drivers/gpu/drm/xe/xe_huc_debugfs.c           |  8 +-
 drivers/gpu/drm/xe/xe_pxp_debugfs.c           | 23 ++++--
 drivers/gpu/drm/xe/xe_sriov.h                 |  8 ++
 drivers/gpu/drm/xe/xe_sriov_pf_debugfs.c      |  5 +-
 drivers/gpu/drm/xe/xe_sriov_vf.c              |  5 +-
 drivers/gpu/drm/xe/xe_tile_debugfs.c          | 10 +--
 drivers/gpu/drm/xe/xe_tile_sriov_pf_debugfs.c | 14 ++--
 17 files changed, 202 insertions(+), 73 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_debugfs_helpers.c
 create mode 100644 drivers/gpu/drm/xe/xe_debugfs_helpers.h

-- 
2.43.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-02-23 21:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-23 15:09 [RFC v2 0/1] Do not create drm device for PF only admin mode Satyanarayana K V P
2026-02-23 15:09 ` [RFC v2 1/1] drm/xe/pf: Skip creating DRM device entries in PF admin‑only mode Satyanarayana K V P
2026-02-23 20:31   ` Michal Wajdeczko
2026-02-23 21:22     ` Rodrigo Vivi
2026-02-23 15:57 ` ✗ CI.checkpatch: warning for Do not create drm device for PF only admin mode (rev2) Patchwork
2026-02-23 15:58 ` ✓ CI.KUnit: success " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox