]> git.hungrycats.org Git - linux/commit
drm/xe: explicit TLB flush for context based tlb invalidation
authorTangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
Wed, 3 Jun 2026 06:52:17 +0000 (12:22 +0530)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Wed, 3 Jun 2026 20:47:03 +0000 (13:47 -0700)
commitf22dbf90f011fa1ae0fe02841fb2676f87633783
treef7d21a044ef72b1d6bd4a75a726917574ef161ea
parent4b1ae138b0e103d753773956a84eebc2edbf62c4
drm/xe: explicit TLB flush for context based tlb invalidation

In LR preempt-fence mode, on devices with context based
TLB Invalidation, rebind operations for VMAs require
an explicit invalidation request.

Request explicit TLB Invalidation in notifier path
and in PT path.

Userptr VMAs are excluded in PT path since the notifier path
already submits invalidation, preventing duplicate
requests for the same rebind window.

v2: Remove explicit TLB Invalidation in notifier path as
PT path is sufficient.
Refactor of above to remove exclusion of userptr VMAs n
PT path.- Thomas

v3: Knit-Remove unrelated change.-Thomas

Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
Reviewed-by: Thomas Hellstrom <thomas.hellstrom@linux.intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patch.msgid.link/20260603065217.3131066-4-tilak.tirumalesh.tangudu@intel.com
drivers/gpu/drm/xe/xe_pt.c