]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Add normalize_invalidation_range
authorMatthew Brost <matthew.brost@intel.com>
Fri, 16 Jan 2026 22:17:21 +0000 (14:17 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Sat, 17 Jan 2026 02:24:44 +0000 (18:24 -0800)
commit888c7f991ffe608a2c9ad9f9420e16c61adea79d
tree92be2bad7ab0c3db0ccf723d1803a3eb3f60744d
parent769d7774a1b82f8fde8ce1ff8e4d006e68d8c153
drm/xe: Add normalize_invalidation_range

Extract the code that determines the alignment of TLB invalidation into
a helper function — normalize_invalidation_range. This will be useful
when adding context-based invalidations to the GuC TLB invalidation
backend.

Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Tested-by: Stuart Summers <stuart.summers@intel.com>
Link: https://patch.msgid.link/20260116221731.868657-2-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_guc_tlb_inval.c