All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/i915, drm/ttm: Update the ttm_move_memcpy() interface
@ 2021-06-24 19:30 ` Thomas Hellström
  0 siblings, 0 replies; 24+ messages in thread
From: Thomas Hellström @ 2021-06-24 19:30 UTC (permalink / raw)
  To: intel-gfx, dri-devel; +Cc: Thomas Hellström, matthew.auld

The ttm_move_memcpy() function was intended to be able to be used async
under a fence.
We are going to utilize that as a fallback if the gpu clearing blit fails
before we set up CPU- or GPU ptes to the memory region.
But to accomplish that the bo argument to ttm_move_memcpy() needs to be
replaced.

Patch 1 reorganizes the i915 ttm move code a bit to make the change
in patch 2 smaller.
Patch 2 updates the ttm_move_memcpy() interface.

Thomas Hellström (2):
  drm/i915/ttm: Reorganize the ttm move code somewhat
  drm/ttm, drm/i915: Update ttm_move_memcpy for async use

 drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 70 ++++++++++++++-----------
 drivers/gpu/drm/ttm/ttm_bo_util.c       | 20 +++----
 include/drm/ttm/ttm_bo_driver.h         |  2 +-
 3 files changed, 51 insertions(+), 41 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-07-12 11:29 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-24 19:30 [PATCH 0/2] drm/i915, drm/ttm: Update the ttm_move_memcpy() interface Thomas Hellström
2021-06-24 19:30 ` [Intel-gfx] " Thomas Hellström
2021-06-24 19:30 ` [PATCH 1/2] drm/i915/ttm: Reorganize the ttm move code somewhat Thomas Hellström
2021-06-24 19:30   ` [Intel-gfx] " Thomas Hellström
2021-06-30 14:19   ` Matthew Auld
2021-06-30 14:19     ` [Intel-gfx] " Matthew Auld
2021-06-30 15:27     ` Thomas Hellström
2021-06-30 15:27       ` [Intel-gfx] " Thomas Hellström
2021-06-30 16:54       ` Matthew Auld
2021-06-30 16:54         ` [Intel-gfx] " Matthew Auld
2021-06-30 17:00         ` Daniel Vetter
2021-06-30 17:00           ` Daniel Vetter
2021-06-24 19:30 ` [PATCH 2/2] drm/ttm, drm/i915: Update ttm_move_memcpy for async use Thomas Hellström
2021-06-24 19:30   ` [Intel-gfx] " Thomas Hellström
2021-06-28 11:21   ` Thomas Hellström
2021-06-28 11:21     ` [Intel-gfx] " Thomas Hellström
2021-07-12 11:29     ` Christian König
2021-07-12 11:29       ` [Intel-gfx] " Christian König
2021-06-30 14:43   ` Matthew Auld
2021-06-30 14:43     ` [Intel-gfx] " Matthew Auld
2021-06-24 23:05 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915, drm/ttm: Update the ttm_move_memcpy() interface Patchwork
2021-06-25  7:39 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2021-06-25 21:22 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915, drm/ttm: Update the ttm_move_memcpy() interface (rev2) Patchwork
2021-06-25 22:27 ` [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.