]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Start using ggtt->start in preparation of balloon removal
authorMaarten Lankhorst <dev@lankhorst.se>
Thu, 8 Jan 2026 10:10:16 +0000 (11:10 +0100)
committerMaarten Lankhorst <dev@lankhorst.se>
Mon, 12 Jan 2026 15:27:33 +0000 (16:27 +0100)
commit22437f30d2f0265095eb1e14bf44d30e6663e676
treef8713405b07efce22e3aef57d615160d8ee4a1d4
parent7970e04d1705075e01f1e168e5b32c9c7680118b
drm/xe: Start using ggtt->start in preparation of balloon removal

Instead of having ggtt->size point to the end of ggtt, have ggtt->size
be the actual size of the GGTT, and introduce ggtt->start to point to
the beginning of GGTT.

This will allow a massive cleanup of GGTT in case of SRIOV-VF.

Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
Link: https://patch.msgid.link/20260108101014.579906-10-dev@lankhorst.se
drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c
drivers/gpu/drm/xe/xe_ggtt.c
drivers/gpu/drm/xe/xe_ggtt.h
drivers/gpu/drm/xe/xe_ggtt_types.h
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c