drm/xe/vf: Expose SR-IOV VF attributes to GT debugfs
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 16 May 2024 11:05:46 +0000 (13:05 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 16 May 2024 18:18:39 +0000 (20:18 +0200)
commit63d8cb8fe3ddf74627003f99ad085887baf91e60
treeec10b44349765a6201fdaa633814230564b5d5f5
parent25275c8a4f1be38494caae25cfbac116280a5351
drm/xe/vf: Expose SR-IOV VF attributes to GT debugfs

For debug purposes we might want to view actual VF configuration
(including GGTT range, LMEM size, number of GuC contexts IDs or
doorbells) and the negotiated ABI versions (with GuC and PF).

Reviewed-by: Piotr PiĆ³rkowski <piotr.piorkowski@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240516110546.2216-7-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/xe_gt_debugfs.c
drivers/gpu/drm/xe/xe_gt_sriov_vf_debugfs.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_gt_sriov_vf_debugfs.h [new file with mode: 0644]