]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Add send_tlb_inval_ppgtt helper
authorMatthew Brost <matthew.brost@intel.com>
Fri, 16 Jan 2026 22:17:28 +0000 (14:17 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Sat, 17 Jan 2026 02:24:53 +0000 (18:24 -0800)
commit2d93d5d53024257e686b3aa839e148cde776e35e
tree121b3dc883698fee1b135b59bd5e84632de05f4c
parentedcc15f489c4c30667b78418228d6a84dbf6a464
drm/xe: Add send_tlb_inval_ppgtt helper

Extract the common code that issues a TLB invalidation H2G for PPGTTs
into a helper function. This helper can be reused for both ASID-based
and context-based TLB invalidations.

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-9-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_guc_tlb_inval.c