All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] drm/i915/gem: Introduce a migrate interface
@ 2021-06-24 18:31 ` Thomas Hellström
  0 siblings, 0 replies; 34+ messages in thread
From: Thomas Hellström @ 2021-06-24 18:31 UTC (permalink / raw)
  To: intel-gfx, dri-devel; +Cc: Thomas Hellström, matthew.auld

We want to be able to explicitly migrate objects between gem memory
regions, initially for display and dma-buf, but there might be more
use-cases coming up.

Introduce a gem migrate interface, add a selftest and use it for
display fb pinning and dma-buf mapping.

This series should make the desktop light up on DG1 with DG1-enabled
mesa.

Matthew Auld (1):
  drm/i915/gem: Introduce a selftest for the gem object migrate
    functionality

Thomas Hellström (3):
  drm/i915/gem: Implement object migration
  drm/i915/display: Migrate objects to LMEM if possible for display
  drm/i915/gem: Migrate to system at dma-buf map time

 drivers/gpu/drm/i915/display/intel_display.c  |   5 +-
 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c    |   9 +-
 drivers/gpu/drm/i915/gem/i915_gem_domain.c    |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_lmem.c      |  21 --
 drivers/gpu/drm/i915/gem/i915_gem_object.c    |  92 +++++++
 drivers/gpu/drm/i915/gem/i915_gem_object.h    |  12 +-
 .../gpu/drm/i915/gem/i915_gem_object_types.h  |   9 +
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c       |  69 +++--
 drivers/gpu/drm/i915/gem/i915_gem_wait.c      |  19 ++
 .../drm/i915/gem/selftests/i915_gem_migrate.c | 237 ++++++++++++++++++
 .../drm/i915/selftests/i915_live_selftests.h  |   1 +
 11 files changed, 434 insertions(+), 42 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gem/selftests/i915_gem_migrate.c

-- 
2.31.1


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

end of thread, other threads:[~2021-06-25 19:21 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-24 18:31 [PATCH 0/4] drm/i915/gem: Introduce a migrate interface Thomas Hellström
2021-06-24 18:31 ` [Intel-gfx] " Thomas Hellström
2021-06-24 18:31 ` [PATCH 1/4] drm/i915/gem: Implement object migration Thomas Hellström
2021-06-24 18:31   ` [Intel-gfx] " Thomas Hellström
2021-06-25 10:51   ` Matthew Auld
2021-06-25 10:51     ` [Intel-gfx] " Matthew Auld
2021-06-24 18:31 ` [PATCH 2/4] drm/i915/gem: Introduce a selftest for the gem object migrate functionality Thomas Hellström
2021-06-24 18:31   ` [Intel-gfx] " Thomas Hellström
2021-06-24 18:31 ` [PATCH 3/4] drm/i915/display: Migrate objects to LMEM if possible for display Thomas Hellström
2021-06-24 18:31   ` [Intel-gfx] " Thomas Hellström
2021-06-24 18:31 ` [PATCH 4/4] drm/i915/gem: Migrate to system at dma-buf map time Thomas Hellström
2021-06-24 18:31   ` [Intel-gfx] " Thomas Hellström
2021-06-25 16:02   ` Ruhl, Michael J
2021-06-25 16:02     ` [Intel-gfx] " Ruhl, Michael J
2021-06-25 16:17     ` Thomas Hellström
2021-06-25 16:17       ` [Intel-gfx] " Thomas Hellström
2021-06-25 17:38       ` Ruhl, Michael J
2021-06-25 17:38         ` [Intel-gfx] " Ruhl, Michael J
2021-06-25 17:52         ` Thomas Hellström
2021-06-25 17:52           ` [Intel-gfx] " Thomas Hellström
2021-06-25 17:57           ` Ruhl, Michael J
2021-06-25 17:57             ` [Intel-gfx] " Ruhl, Michael J
2021-06-25 18:49             ` Thomas Hellström
2021-06-25 18:49               ` [Intel-gfx] " Thomas Hellström
2021-06-25 19:07               ` Ruhl, Michael J
2021-06-25 19:07                 ` [Intel-gfx] " Ruhl, Michael J
2021-06-25 19:10                 ` Thomas Hellström
2021-06-25 19:10                   ` [Intel-gfx] " Thomas Hellström
2021-06-25 19:21                   ` Ruhl, Michael J
2021-06-25 19:21                     ` [Intel-gfx] " Ruhl, Michael J
2021-06-24 22:02 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gem: Introduce a migrate interface Patchwork
2021-06-24 22:04 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2021-06-24 22:33 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2021-06-25  6:53 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.