[PATCH 0/3] drm/i915/ttm: Failsafe ttm moves

Thomas Hellström thomas.hellstrom at linux.intel.com
Fri Oct 29 15:21:18 UTC 2021


Implement failsafe ttm moves

Thomas Hellström (3):
  drm/i915: Introduce refcounted sg-tables
  drm/i915/ttm: Reorganize the ttm move code
  drm/i915/ttm: Failsafe migration blits

 drivers/gpu/drm/i915/Makefile                 |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_object.h    |  12 +-
 .../gpu/drm/i915/gem/i915_gem_object_types.h  |   3 +-
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c     |  49 +-
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c       | 416 ++++----------
 drivers/gpu/drm/i915/gem/i915_gem_ttm.h       |  22 +
 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c  | 506 ++++++++++++++++++
 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h  |  42 ++
 .../drm/i915/gem/selftests/i915_gem_migrate.c |  24 +-
 drivers/gpu/drm/i915/i915_scatterlist.c       |  62 ++-
 drivers/gpu/drm/i915/i915_scatterlist.h       |  76 ++-
 drivers/gpu/drm/i915/intel_region_ttm.c       |  15 +-
 drivers/gpu/drm/i915/intel_region_ttm.h       |   5 +-
 drivers/gpu/drm/i915/selftests/mock_region.c  |  12 +-
 14 files changed, 852 insertions(+), 393 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h

-- 
2.31.1



More information about the Intel-gfx-trybot mailing list