linux-stable/include/drm/ttm
Christian König 1ec39923ef drm/ttm: rework BO delayed delete. v2
This patch reworks the whole delayed deletion of BOs which aren't idle.

Instead of having two counters for the BO structure we resurrect the BO
when we find that a deleted BO is not idle yet.

This has many advantages, especially that we don't need to
increment/decrement the BOs reference counter any more when it
moves on the LRUs.

v2: remove duplicate ttm_tt_destroy, fix holde lock for LRU move

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: xinhui pan <xinhui.pan@amd.com>
Link: https://patchwork.freedesktop.org/patch/352912/
2020-02-12 13:03:27 +01:00
..
ttm_bo_api.h drm/ttm: rework BO delayed delete. v2 2020-02-12 13:03:27 +01:00
ttm_bo_driver.h drm/ttm: nuke invalidate_caches callback 2020-01-16 16:35:07 +01:00
ttm_debug.h drm/ttm: Add DMA map/unmap tracepoint (v3) 2017-08-29 15:27:50 -04:00
ttm_execbuf_util.h drm/ttm: always keep BOs on the LRU 2019-10-25 11:40:50 +02:00
ttm_memory.h drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_module.h drm: move ttm global code to core drm 2010-08-04 09:46:06 +10:00
ttm_page_alloc.h drm/ttm, drm/vmwgfx: Use a configuration option for the TTM dma page pool 2019-11-14 08:41:23 +01:00
ttm_placement.h drm/ttm: add TTM_PL_FLAG_CONTIGUOUS v2 2017-04-04 23:33:42 -04:00
ttm_set_memory.h drm/ttm: Add ttm_set_pages_wc and ttm_set_pages_uc helper 2018-08-01 17:23:05 -05:00
ttm_tt.h drm/ttm: add bo as parameter to the ttm_tt_create callback 2018-03-14 14:38:27 -05:00