]> Gentwo Git Trees - linux/.git/commit
drm/xe: Add GT TLB invalidation jobs
authorMatthew Brost <matthew.brost@intel.com>
Thu, 24 Jul 2025 19:12:14 +0000 (12:12 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 25 Jul 2025 01:27:22 +0000 (18:27 -0700)
commitdba89840a920ffcab7a722299510f89d7800d79b
tree6ded118167c1da8288b8d9e1142901d949c20eaf
parent535c445eb94c9abce3350aa61424fc34b8138ee8
drm/xe: Add GT TLB invalidation jobs

Add GT TLB invalidation jobs which issue GT TLB invalidations. Built on
top of Xe generic dependency scheduler.

v2:
 - Fix checkpatch
v3:
 - Fix kernel doc in xe_gt_tlb_inval_job_alloc_dep,
   xe_gt_tlb_inval_job_push
 - Use IS_ERR_OR_NULL in xe_gt_tlb_inval_job_put
 - Squash migrate lock / unlock helpers into this patch (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-6-matthew.brost@intel.com
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/xe_gt_tlb_inval_job.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_gt_tlb_inval_job.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_migrate.c
drivers/gpu/drm/xe/xe_migrate.h