All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Add TLB invalidation abstraction
@ 2025-07-23 18:22 stuartsummers
  2025-07-23 18:22 ` [PATCH 1/5] drm/xe: Add xe_gt_tlb_invalidation_done_handler stuartsummers
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: stuartsummers @ 2025-07-23 18:22 UTC (permalink / raw)
  Cc: matthew.brost, matthew.auld, maarten.lankhorst, farah.kassabri,
	intel-xe, stuartsummers

This is a new collection of patches from Matt that has
been floating around internally and on the mailing list.
The goal here is to abstract the actual mechanism of
the invalidation from the higher level invalidation triggers
(like page table updates).

Most of these were brought in unmodified by Matt, but
I've done some minor rebase work here and there and
added my signoff where those rebases seemed a little
more extensive.

This is built on top of [1] and [2]. I've also brought
in [3] and [4] individually from a separate series
from Matt.

Stuart

[1] https://patchwork.freedesktop.org/series/151670/#rev1
[2] https://patchwork.freedesktop.org/series/150402/#rev3
[3] https://lists.freedesktop.org/archives/intel-xe/2024-July/041363.html
[4] https://lists.freedesktop.org/archives/intel-xe/2024-July/041364.html

Matthew Brost (5):
  drm/xe: Add xe_gt_tlb_invalidation_done_handler
  drm/xe: Decouple TLB invalidations from GT
  drm/xe: Prep TLB invalidation fence before sending
  drm/xe: Add helpers to send TLB invalidations
  drm/xe: Split TLB invalidation code in frontend and backend

 drivers/gpu/drm/xe/Makefile                   |   5 +-
 drivers/gpu/drm/xe/xe_ggtt.c                  |   6 +-
 drivers/gpu/drm/xe/xe_gt.c                    |   6 +-
 drivers/gpu/drm/xe/xe_gt_tlb_inval.c          | 600 ------------------
 drivers/gpu/drm/xe/xe_gt_tlb_inval.h          |  40 --
 drivers/gpu/drm/xe/xe_gt_tlb_inval_job.h      |  34 -
 drivers/gpu/drm/xe/xe_gt_tlb_inval_types.h    |  64 --
 drivers/gpu/drm/xe/xe_gt_types.h              |   2 +-
 drivers/gpu/drm/xe/xe_guc_ct.c                |   2 +-
 drivers/gpu/drm/xe/xe_guc_tlb_inval.c         | 263 ++++++++
 drivers/gpu/drm/xe/xe_guc_tlb_inval.h         |  19 +
 drivers/gpu/drm/xe/xe_lmtt.c                  |  12 +-
 drivers/gpu/drm/xe/xe_migrate.h               |  10 +-
 drivers/gpu/drm/xe/xe_pt.c                    |  63 +-
 drivers/gpu/drm/xe/xe_svm.c                   |   1 -
 drivers/gpu/drm/xe/xe_tlb_inval.c             | 411 ++++++++++++
 drivers/gpu/drm/xe/xe_tlb_inval.h             |  47 ++
 ..._gt_tlb_inval_job.c => xe_tlb_inval_job.c} | 154 +++--
 drivers/gpu/drm/xe/xe_tlb_inval_job.h         |  34 +
 drivers/gpu/drm/xe/xe_tlb_inval_types.h       | 138 ++++
 drivers/gpu/drm/xe/xe_trace.h                 |  24 +-
 drivers/gpu/drm/xe/xe_vm.c                    |  26 +-
 22 files changed, 1073 insertions(+), 888 deletions(-)
 delete mode 100644 drivers/gpu/drm/xe/xe_gt_tlb_inval.c
 delete mode 100644 drivers/gpu/drm/xe/xe_gt_tlb_inval.h
 delete mode 100644 drivers/gpu/drm/xe/xe_gt_tlb_inval_job.h
 delete mode 100644 drivers/gpu/drm/xe/xe_gt_tlb_inval_types.h
 create mode 100644 drivers/gpu/drm/xe/xe_guc_tlb_inval.c
 create mode 100644 drivers/gpu/drm/xe/xe_guc_tlb_inval.h
 create mode 100644 drivers/gpu/drm/xe/xe_tlb_inval.c
 create mode 100644 drivers/gpu/drm/xe/xe_tlb_inval.h
 rename drivers/gpu/drm/xe/{xe_gt_tlb_inval_job.c => xe_tlb_inval_job.c} (51%)
 create mode 100644 drivers/gpu/drm/xe/xe_tlb_inval_job.h
 create mode 100644 drivers/gpu/drm/xe/xe_tlb_inval_types.h

-- 
2.34.1


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2025-07-23 23:47 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-23 18:22 [PATCH 0/5] Add TLB invalidation abstraction stuartsummers
2025-07-23 18:22 ` [PATCH 1/5] drm/xe: Add xe_gt_tlb_invalidation_done_handler stuartsummers
2025-07-23 18:22 ` [PATCH 2/5] drm/xe: Decouple TLB invalidations from GT stuartsummers
2025-07-23 18:22 ` [PATCH 3/5] drm/xe: Prep TLB invalidation fence before sending stuartsummers
2025-07-23 18:22 ` [PATCH 4/5] drm/xe: Add helpers to send TLB invalidations stuartsummers
2025-07-23 18:22 ` [PATCH 5/5] drm/xe: Split TLB invalidation code in frontend and backend stuartsummers
2025-07-23 18:45   ` Matthew Brost
2025-07-23 18:51     ` Matthew Brost
2025-07-23 19:17   ` Matthew Brost
2025-07-23 20:18     ` Matthew Brost
2025-07-23 20:20       ` Summers, Stuart
2025-07-23 20:47         ` Matthew Brost
2025-07-23 20:55           ` Summers, Stuart
2025-07-23 21:22             ` Matthew Brost
2025-07-23 22:03               ` Summers, Stuart
2025-07-23 22:43                 ` Summers, Stuart
2025-07-23 23:21                 ` Matthew Brost
2025-07-23 23:46                   ` Summers, Stuart
2025-07-23 23:19               ` Summers, Stuart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.