amd-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* Cleanup TTMs delayed delete handling
@ 2020-02-10 15:09 Christian König
  2020-02-10 15:09 ` [PATCH 1/6] drm/ttm: refine ghost BO resv criteria Christian König
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: Christian König @ 2020-02-10 15:09 UTC (permalink / raw)
  To: Xinhui.Pan, amd-gfx, dri-devel

This series of patches cleans up TTMs delayed delete handling.

The core of the new handling is that we new only have a single reference counter instead of two and use kref_get_unless_zero() to grab BOs from the LRU during eviction.

This reduces the overhead of LRU moves and allows us to properly individualize the BOs reservation object during deletion to allow adding BOs for clearing memory, unmapping page tables etc..

Please review and comment,
Christian.


_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

end of thread, other threads:[~2020-02-11 15:36 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-10 15:09 Cleanup TTMs delayed delete handling Christian König
2020-02-10 15:09 ` [PATCH 1/6] drm/ttm: refine ghost BO resv criteria Christian König
2020-02-10 15:09 ` [PATCH 2/6] drm/ttm: cleanup ttm_buffer_object_transfer Christian König
2020-02-10 15:09 ` [PATCH 3/6] drm/ttm: use RCU in ttm_bo_flush_all_fences Christian König
2020-02-10 15:09 ` [PATCH 4/6] drm/ttm: rework BO delayed delete Christian König
2020-02-11  5:26   ` Pan, Xinhui
2020-02-11  5:43     ` Pan, Xinhui
2020-02-11 13:41       ` Christian König
2020-02-10 15:09 ` [PATCH 5/6] drm/ttm: replace dma_resv object on deleted BOs v2 Christian König
2020-02-11 14:14   ` Daniel Vetter
2020-02-11 15:02     ` Pan, Xinhui
2020-02-11 15:23       ` Christian König
2020-02-11 15:36         ` Daniel Vetter
2020-02-11 15:15     ` Christian König
2020-02-10 15:09 ` [PATCH 6/6] drm/ttm: individualize resv objects before calling release_notify Christian König
2020-02-11 11:06 ` Cleanup TTMs delayed delete handling Pan, Xinhui
2020-02-11 11:13   ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).