]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/pf: Fix the address range assert in ggtt_get_pte helper
authorMichał Winiarski <michal.winiarski@intel.com>
Fri, 30 Jan 2026 21:56:24 +0000 (22:56 +0100)
committerMichał Winiarski <michal.winiarski@intel.com>
Mon, 9 Feb 2026 08:22:32 +0000 (09:22 +0100)
commit6fa45759cf43df3508a94dda7b6b02735ab19c4f
tree5befe0dc9e3bb959e08d2458328a308398005962
parente8100643ff01be0fc74048b8296cfb2b9b5c90ed
drm/xe/pf: Fix the address range assert in ggtt_get_pte helper

The ggtt_get_pte helper used for saving VF GGTT incorrectly assumes that
ggtt_size == ggtt_end.
Fix it to avoid triggering spurious asserts if VF GGTT object lands in
high GGTT range.

Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patch.msgid.link/20260130215624.556099-1-michal.winiarski@intel.com
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
drivers/gpu/drm/xe/xe_ggtt.c