drm/xe/pf: Extract helper to show which VFs are provisioned
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 2 Apr 2026 19:17:24 +0000 (21:17 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Sun, 12 Apr 2026 08:32:56 +0000 (10:32 +0200)
commit67a5fb1f9ada7c3d8b7f571be86554968084a4b9
treef724dcd65a5240faa0441741e0f96da143d91d94
parent24ac010a97b6e6a65dc32ee2af1cdbe4a44daf7e
drm/xe/pf: Extract helper to show which VFs are provisioned

In upcoming patches we will want to show which VFs were already
provisioned with resources other than LMEM(VRAM). Convert code
from the LMEM reporting function into a more generic helper that
can handle both u32 and u64 resources and can report also PF.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://patch.msgid.link/20260402191726.4932-12-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c