]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe: Decouple TLB invalidations from GT
authorMatthew Brost <matthew.brost@intel.com>
Tue, 26 Aug 2025 18:29:08 +0000 (18:29 +0000)
committerMatthew Brost <matthew.brost@intel.com>
Wed, 27 Aug 2025 18:49:18 +0000 (11:49 -0700)
commit15366239e2130ebe662351c0995590f2af2ba3b3
treedcb65aa1cc7f341ab5e2300694fd0e5e876aa778
parent6d1e452e0948fd69ec3aeea0e52807152dc93c2d
drm/xe: Decouple TLB invalidations from GT

Decouple TLB invalidations from the GT by updating the TLB invalidation
layer to accept a `struct xe_tlb_inval` instead of a `struct xe_gt`.
Also, rename *gt_tlb* to *tlb*. The internals of the TLB invalidation
code still operate on a GT, but this is now hidden from the rest of the
driver.

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-7-stuart.summers@intel.com
18 files changed:
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/xe_ggtt.c
drivers/gpu/drm/xe/xe_gt.c
drivers/gpu/drm/xe/xe_gt_tlb_inval.h [deleted file]
drivers/gpu/drm/xe/xe_gt_tlb_inval_job.h [deleted file]
drivers/gpu/drm/xe/xe_gt_types.h
drivers/gpu/drm/xe/xe_guc_ct.c
drivers/gpu/drm/xe/xe_lmtt.c
drivers/gpu/drm/xe/xe_migrate.h
drivers/gpu/drm/xe/xe_pt.c
drivers/gpu/drm/xe/xe_svm.c
drivers/gpu/drm/xe/xe_tlb_inval.c [moved from drivers/gpu/drm/xe/xe_gt_tlb_inval.c with 80% similarity]
drivers/gpu/drm/xe/xe_tlb_inval.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_tlb_inval_job.c [moved from drivers/gpu/drm/xe/xe_gt_tlb_inval_job.c with 51% similarity]
drivers/gpu/drm/xe/xe_tlb_inval_job.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_tlb_inval_types.h [moved from drivers/gpu/drm/xe/xe_gt_tlb_inval_types.h with 56% similarity]
drivers/gpu/drm/xe/xe_trace.h
drivers/gpu/drm/xe/xe_vm.c