]> Gentwo Git Trees - linux/.git/commit
drm/xe: Split TLB invalidation code in frontend and backend
authorMatthew Brost <matthew.brost@intel.com>
Tue, 26 Aug 2025 18:29:11 +0000 (18:29 +0000)
committerMatthew Brost <matthew.brost@intel.com>
Wed, 27 Aug 2025 18:49:31 +0000 (11:49 -0700)
commitdb16f9d90c1d97a2b5483b4b856625875bffe860
treefd6083d7cb13d7ec0536b509a4f5382121f25039
parent8443e8c448cfe1082f2bbad41fe6e56e8d3b5bba
drm/xe: Split TLB invalidation code in frontend and backend

The frontend exposes an API to the driver to send invalidations, handles
sequence number assignment, synchronization (fences), and provides a
timeout mechanism. The backend issues the actual invalidation to the
hardware (or firmware).

The new layering easily allows issuing TLB invalidations to different
hardware or firmware interfaces.

Normalize some naming while here too.

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-10-stuart.summers@intel.com
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/xe_gt.c
drivers/gpu/drm/xe/xe_guc_ct.c
drivers/gpu/drm/xe/xe_guc_tlb_inval.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_guc_tlb_inval.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_tlb_inval.c
drivers/gpu/drm/xe/xe_tlb_inval.h
drivers/gpu/drm/xe/xe_tlb_inval_types.h