Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH 0/4] Invalidate TLB cache for all GT's
@ 2023-08-01 14:19 Andi Shyti
  2023-08-01 14:19 ` [Intel-gfx] [PATCH 1/4] drm/i915/gt: Move TLB invalidation to its own file Andi Shyti
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Andi Shyti @ 2023-08-01 14:19 UTC (permalink / raw)
  To: Chris Wilson, Mauro Carvalho Chehab; +Cc: intel-gfx, dri-devel

Hi,

This series revisits a once-trendy topic: TLB invalidation
support for multi-gt.  It's a theme that's been passed around and
reshaped by several of us.

I've filtered out most of the original changes from this series,
initially sent by Mauro [1]. His ideas were inspired by some
changes from Chris, who in turn was inspired by a change from
me[2], all of which stemmed from offline talks by Chris (it's
like a game of inspiration tag!).

What I've done is simply rebase and refactor the patches,
focusing solely on the changes needed for multi-gt TLB
invalidation in MMIO memory. The result is a leaner, more
targeted proposal.

Other patches from the original series might follow.

Thanks,
Andi

[1] https://patchwork.freedesktop.org/series/106293/
[2] https://patchwork.freedesktop.org/series/103831/

Andi Shyti (2):
  i915/drm/gt: Move the gt defines in the gt directory
  drm/i915: Remove unnecessary include

Chris Wilson (2):
  drm/i915/gt: Move TLB invalidation to its own file
  drm/i915: Invalidate the TLBs on each GT

 drivers/gpu/drm/i915/Makefile                 |   1 +
 .../gpu/drm/i915/gem/i915_gem_object_types.h  |   4 +-
 drivers/gpu/drm/i915/gem/i915_gem_pages.c     |  15 +-
 drivers/gpu/drm/i915/gt/intel_gt.c            | 140 +--------------
 drivers/gpu/drm/i915/gt/intel_gt.h            |  12 --
 drivers/gpu/drm/i915/gt/intel_gt_defines.h    |  11 ++
 drivers/gpu/drm/i915/gt/intel_ppgtt.c         |   4 +-
 drivers/gpu/drm/i915/gt/intel_tlb.c           | 159 ++++++++++++++++++
 drivers/gpu/drm/i915/gt/intel_tlb.h           |  29 ++++
 drivers/gpu/drm/i915/gt/selftest_tlb.c        |   3 +-
 drivers/gpu/drm/i915/i915_drv.h               |   1 -
 drivers/gpu/drm/i915/i915_vma.c               |  15 +-
 12 files changed, 231 insertions(+), 163 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_defines.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_tlb.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_tlb.h

-- 
2.40.1


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

end of thread, other threads:[~2023-08-01 21:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-01 14:19 [Intel-gfx] [PATCH 0/4] Invalidate TLB cache for all GT's Andi Shyti
2023-08-01 14:19 ` [Intel-gfx] [PATCH 1/4] drm/i915/gt: Move TLB invalidation to its own file Andi Shyti
2023-08-01 14:19 ` [Intel-gfx] [PATCH 2/4] i915/drm/gt: Move the gt defines in the gt directory Andi Shyti
2023-08-01 14:19 ` [Intel-gfx] [PATCH 3/4] drm/i915: Invalidate the TLBs on each GT Andi Shyti
2023-08-01 14:19 ` [Intel-gfx] [PATCH 4/4] drm/i915: Remove unnecessary include Andi Shyti
2023-08-01 14:40 ` [Intel-gfx] [PATCH 0/4] Invalidate TLB cache for all GT's Mauro Carvalho Chehab
2023-08-01 16:50 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2023-08-01 16:50 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-08-01 17:01 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-08-01 21:57 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox