]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/pf: Don't use LMTT page size if no LMTT
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Sat, 21 Feb 2026 15:22:30 +0000 (16:22 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 26 Feb 2026 11:47:13 +0000 (12:47 +0100)
commit6d09a56b49380d996f225fcbcb96a64512bbe8e8
tree11c747b2e6bcf203cd37e18fe7f76429486d0e54
parent494752bdc41547b7525d94e6a3de3e44c691520a
drm/xe/pf: Don't use LMTT page size if no LMTT

While today all our DGFX platforms have LMTT, we already started
preparation to do not rely on this assumption. Add check for the
LMTT presence and return default page size as VRAM/LMEM alignment
if there is no LMTT.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260221152230.7071-4-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c