]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/pf: Force use user VRAM for LMEM provisioning
authorPiotr Piórkowski <piotr.piorkowski@intel.com>
Fri, 3 Oct 2025 16:26:18 +0000 (18:26 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 6 Oct 2025 06:33:51 +0000 (08:33 +0200)
commitb48140f4465090b5b21110a9df9a9aa546c69152
tree80f1b836d68393dbae80d6518b727ccd301647ba
parent3f6cd669d50b67c2a33642c811a3a6645f0334e8
drm/xe/pf: Force use user VRAM for LMEM provisioning

The LMEM assigned to VFs should be allocated from the general-purpose
VRAM pool, not from the kernel-reserved region.
Let's force the use of general-purpose VRAM for BOs intended for VFs.

Signed-off-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://lore.kernel.org/r/20251003162619.1984236-5-piotr.piorkowski@intel.com
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c