]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Use GT TLB invalidation jobs in PT layer
authorMatthew Brost <matthew.brost@intel.com>
Thu, 24 Jul 2025 19:12:15 +0000 (12:12 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 25 Jul 2025 01:27:47 +0000 (18:27 -0700)
commitb8d5779eee382003b26b1a147071adf08c5d294c
tree208066ea3d4710e7da8285a6ee4674ed46e1ac9f
parentdba89840a920ffcab7a722299510f89d7800d79b
drm/xe: Use GT TLB invalidation jobs in PT layer

Rather than open-coding GT TLB invalidations in the PT layer, use GT TLB
invalidation jobs. The real benefit is that GT TLB invalidation jobs use
a single dma-fence context, allowing the generated fences to be squashed
in dma-resv/DRM scheduler.

v2:
 - s/;;/; (checkpatch)
 - Move ijob/mjob job push after range fence install
v3:
 - Remove extra newline (Stuart)
 - Set ijob/mjob near creation (Stuart)
 - Add comment back in (Stuart)

Suggested-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://lore.kernel.org/r/20250724191216.4076566-7-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_migrate.h
drivers/gpu/drm/xe/xe_pt.c