]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/display: Avoid dereferencing xe_ggtt_node
authorMaarten Lankhorst <dev@lankhorst.se>
Thu, 8 Jan 2026 10:10:19 +0000 (11:10 +0100)
committerMaarten Lankhorst <dev@lankhorst.se>
Mon, 12 Jan 2026 15:28:34 +0000 (16:28 +0100)
commita7ae0836917ca617434c416f9c61dc6024d04949
treee2c2fe92b576931b44495c0735392838042d6bd5
parentc818b2651573b2ab3e5dc71dcbfe89b5e0fe9c13
drm/xe/display: Avoid dereferencing xe_ggtt_node

Start using xe_ggtt_node_addr, and avoid comparing the base offset
as vma->node is dynamically allocated.

Also sneak in a xe_bo_size() for stolen, too small to put as separate
commit.

Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patch.msgid.link/20260108101014.579906-13-dev@lankhorst.se
drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h
drivers/gpu/drm/xe/display/xe_fb_pin.c
drivers/gpu/drm/xe/display/xe_stolen.c