]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Add dependency scheduler for GT TLB invalidations to bind queues
authorMatthew Brost <matthew.brost@intel.com>
Thu, 24 Jul 2025 19:12:13 +0000 (12:12 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 25 Jul 2025 01:25:59 +0000 (18:25 -0700)
commit535c445eb94c9abce3350aa61424fc34b8138ee8
tree88361e6972882bfa00b32d5f65860c1c74a03621
parentada51219489f53f9f35833c3d0d8a4fe3f4c5705
drm/xe: Add dependency scheduler for GT TLB invalidations to bind queues

Add a generic dependency scheduler for GT TLB invalidations, used to
schedule jobs that issue GT TLB invalidations to bind queues.

v2:
 - Use shared GT TLB invalidation queue for dep scheduler
 - Break allocation of dep scheduler into its own function
 - Add define for max number tlb invalidations
 - Skip media if not present

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-5-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_exec_queue.c
drivers/gpu/drm/xe/xe_exec_queue_types.h