]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/pf: Always expose VRAM provisioning data on discrete GPUs
authorLukasz Laguna <lukasz.laguna@intel.com>
Thu, 16 Oct 2025 12:22:33 +0000 (14:22 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 17 Oct 2025 14:55:57 +0000 (16:55 +0200)
commit37c8c8d9c6ad0b34b662074b66fbe0dcde9d1fed
tree9537ea85f561748270cc2fcaec1164e2ca59ce99
parent59a2d3f38ab23cce4cd9f0c4a5e08fdfe9e67ae7
drm/xe/pf: Always expose VRAM provisioning data on discrete GPUs

Currently, VRAM provisioning data is only exposed if the device supports
LMTT. While it should not be possible to modify VRAM provisioning on
platforms without LMTT, it is still useful to be able to read the VRAM
provisioning data on all discrete GPU platforms.

Expose the VRAM debugfs attributes whenever running on dGFX, adjusting
file permissions to read only when LMTT is not available.

Signed-off-by: Lukasz Laguna <lukasz.laguna@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://lore.kernel.org/r/20251016122233.3789-1-lukasz.laguna@intel.com
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
drivers/gpu/drm/xe/xe_tile_sriov_pf_debugfs.c