]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe: Remove xe_ggtt_node_allocated
authorMaarten Lankhorst <dev@lankhorst.se>
Fri, 6 Feb 2026 11:21:14 +0000 (12:21 +0100)
committerMaarten Lankhorst <dev@lankhorst.se>
Mon, 16 Feb 2026 13:20:24 +0000 (14:20 +0100)
commit08d05c736605fb3dd3852a37c8bf20cd0fc2e08b
tree7e6950c2f42c217ecf351ec739f806a2ebeb1ab3
parenta4eac88e313529e6c0bc67e28061a481b08a6477
drm/xe: Remove xe_ggtt_node_allocated

With the intermediate state gone, no longer useful. Just check against
NULL where needed.

After looking carefully, the check for allocated in xe_fb_pin.c is
unneeded. vma->node is never NULL. The check is specifically only
to check if vma->node == the bo's root tile ggtt_obj.

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