[PATCH 0/3] remove shmem backend and region and unify them with TTM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series will attempt to discard the shmem and phys gem object
backends from the driver, and handle the dependent objects from TTM
instead. The end goal of this and other patches to come is to delete all
existing backends and bring their functionality into the current i915 TTM
API callbacks.

The first patch in the series was actually authored by Bob Beckett, who is
working on removing the internal and stolen GEM backends. However his
change was essential for this series, so I've included it with the purpose
of making the CI system happy.

An RFC for the current patch was discussed in
https://lists.freedesktop.org/archives/intel-gfx/2022-May/298082.html.

Adrian Larumbe (3):
  drm/i915/ttm: dont trample cache_level overrides during ttm move
  drm/i915/ttm: don't overwrite cache_dirty after setting coherency
  drm/i915/ttm: remove shmem memory region and gem object backend

 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c    |  10 +-
 drivers/gpu/drm/i915/gem/i915_gem_domain.c    |   4 +-
 drivers/gpu/drm/i915/gem/i915_gem_mman.c      |  14 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.c    |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_object.h    |   6 +-
 .../gpu/drm/i915/gem/i915_gem_object_types.h  |   1 +
 drivers/gpu/drm/i915/gem/i915_gem_phys.c      |  29 +-
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c     | 392 +-----------------
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c       | 346 ++++++++++++++--
 drivers/gpu/drm/i915/gem/i915_gem_ttm.h       |   3 +
 drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c  |  22 +-
 drivers/gpu/drm/i915/gt/shmem_utils.c         |  36 +-
 drivers/gpu/drm/i915/intel_memory_region.c    |   7 +-
 13 files changed, 428 insertions(+), 443 deletions(-)

-- 
2.36.1




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux