]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe: Prep TLB invalidation fence before sending
authorMatthew Brost <matthew.brost@intel.com>
Tue, 26 Aug 2025 18:29:09 +0000 (18:29 +0000)
committerMatthew Brost <matthew.brost@intel.com>
Wed, 27 Aug 2025 18:49:24 +0000 (11:49 -0700)
commit9aff63cf3791e464e4762ca79bd5d5b9643edce6
treeb447323d4dc009e773288559e2de44b1907551fa
parent15366239e2130ebe662351c0995590f2af2ba3b3
drm/xe: Prep TLB invalidation fence before sending

It is a bit backwards to add a TLB invalidation fence to the pending
list after issuing the invalidation. Perform this step before issuing
the TLB invalidation in a helper function.

v2: Make sure the seqno_lock mutex covers the send as well (Matt)

Signed-off-by: Stuart Summers <stuart.summers@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250826182911.392550-8-stuart.summers@intel.com
drivers/gpu/drm/xe/xe_tlb_inval.c