]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Improve xe_gt_sriov_pf_config GGTT handling
authorMaarten Lankhorst <dev@lankhorst.se>
Thu, 8 Jan 2026 10:10:21 +0000 (11:10 +0100)
committerMaarten Lankhorst <dev@lankhorst.se>
Mon, 12 Jan 2026 15:28:48 +0000 (16:28 +0100)
commit8d88aa149a297a179d8381ccf6170e48d666dc63
treea94880d47a2dfe51174ffccdd390440ed4a4ea5d
parent9086170bfb925c90e298134791a9851ed626b873
drm/xe: Improve xe_gt_sriov_pf_config GGTT handling

Do not directly dereference xe_ggtt_node, and add
a function to retrieve the allocated GGTT size.

Reviewed-by: Matthew.brost@intel.com
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
Link: https://patch.msgid.link/20260108101014.579906-15-dev@lankhorst.se
drivers/gpu/drm/xe/xe_ggtt.c
drivers/gpu/drm/xe/xe_ggtt.h
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c