Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH 0/3] remove shmem backend and region and unify them with TTM
@ 2022-06-14  1:13 Adrian Larumbe
  2022-06-14  1:13 ` [Intel-gfx] [PATCH 1/3] drm/i915/ttm: dont trample cache_level overrides during ttm move Adrian Larumbe
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Adrian Larumbe @ 2022-06-14  1:13 UTC (permalink / raw)
  To: daniel, intel-gfx; +Cc: adrian.larumbe

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


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

end of thread, other threads:[~2022-06-30 14:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-14  1:13 [Intel-gfx] [PATCH 0/3] remove shmem backend and region and unify them with TTM Adrian Larumbe
2022-06-14  1:13 ` [Intel-gfx] [PATCH 1/3] drm/i915/ttm: dont trample cache_level overrides during ttm move Adrian Larumbe
2022-06-14  1:13 ` [Intel-gfx] [PATCH 2/3] drm/i915/ttm: don't overwrite cache_dirty after setting coherency Adrian Larumbe
2022-06-14 17:55   ` Matthew Auld
2022-06-28 21:11     ` Robert Beckett
2022-06-30 14:05       ` Matthew Auld
2022-06-14  1:13 ` [Intel-gfx] [PATCH 3/3] drm/i915/ttm: remove shmem memory region and gem object backend Adrian Larumbe
2022-06-16 14:48   ` kernel test robot
2022-06-16 15:30   ` kernel test robot
2022-06-14  2:53 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for remove shmem backend and region and unify them with TTM Patchwork
2022-06-14  2:53 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2022-06-14  3:17 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-06-15  0:42 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork

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