mbox series

[RFC,00/10] drm/i915: Implement range-based TLB

Message ID 20231010184423.2118908-1-jonathan.cavitt@intel.com (mailing list archive)
Headers show
Series drm/i915: Implement range-based TLB | expand

Message

Cavitt, Jonathan Oct. 10, 2023, 6:44 p.m. UTC
Implement range-based TLB invalidations on top of GuC-based TLB
invalidations.  This is the future plan for GuC-based TLB
invalidations because it helps improve performance over performing
full tlb invalidations all the time.

Jonathan Cavitt (7):
  drm/i915: Add GuC TLB Invalidation device info flags
  drm/i915/guc: Add CT size delay helper
  drm/i915: No TLB invalidation on suspended GT
  drm/i915: No TLB invalidation on wedged GT
  drm/i915/gt: Increase sleep in gt_tlb selftest sanitycheck
  drm/i915: Enable GuC TLB invalidations for MTL
  drm/i915: Use selective tlb invalidations where supported

Prathap Kumar Valsan (3):
  drm/i915: Define and use GuC and CTB TLB invalidation routines
  drm/i915: Define GuC Based TLB invalidation routines
  drm/i915: Add generic interface for tlb invalidation

 drivers/gpu/drm/i915/gt/intel_ggtt.c          |  34 +-
 drivers/gpu/drm/i915/gt/intel_gt_regs.h       |   8 +
 drivers/gpu/drm/i915/gt/intel_ppgtt.c         |   2 +-
 drivers/gpu/drm/i915/gt/intel_tlb.c           |  68 +++-
 drivers/gpu/drm/i915/gt/intel_tlb.h           |   1 +
 drivers/gpu/drm/i915/gt/selftest_tlb.c        |  99 +++++-
 .../gpu/drm/i915/gt/uc/abi/guc_actions_abi.h  |  35 +++
 drivers/gpu/drm/i915/gt/uc/intel_guc.h        |  34 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c     |   4 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.h     |  13 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h   |   1 +
 .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 290 +++++++++++++++++-
 drivers/gpu/drm/i915/gt/uc/intel_uc.c         |   7 +
 drivers/gpu/drm/i915/i915_drv.h               |   2 +
 drivers/gpu/drm/i915/i915_pci.c               |   1 +
 drivers/gpu/drm/i915/i915_vma.c               |  14 +-
 drivers/gpu/drm/i915/i915_vma.h               |   3 +-
 drivers/gpu/drm/i915/intel_device_info.h      |   1 +
 .../drm/i915/selftests/i915_mock_selftests.h  |   1 +
 19 files changed, 597 insertions(+), 21 deletions(-)