linux/drivers/gpu/drm/ttm
Thomas Hellstrom e1efc9b6ac drm/ttm: Optimize delayed buffer destruction
This commit replaces the ttm_bo_cleanup_ref function with two new functions.
One for the case where the bo is not yet on the delayed destroy list, and
one for the case where the bo was on the delayed destroy list, at least at
the time of call. This makes it possible to optimize the two cases somewhat.

It also enables the possibility to directly destroy buffers on the
delayed delete list when they are about to be evicted or swapped out.
Currently they were only evicted / swapped and destruction was left for the
delayed buffer destruction thread.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-21 11:53:28 +10:00
..
Makefile drm/ttm: restructure to allow driver to plug in alternate memory manager 2010-10-05 10:01:20 +10:00
ttm_agp_backend.c drm/ttm: restructure to allow driver to plug in alternate memory manager 2010-10-05 10:01:20 +10:00
ttm_bo_manager.c drm/ttm: Avoid using the ttm_mem_type_manager::put_locked function 2010-10-21 11:53:24 +10:00
ttm_bo_util.c Merge remote branch 'nouveau/for-airlied' of ../drm-nouveau-next into drm-core-next 2010-10-06 12:57:11 +10:00
ttm_bo_vm.c drm/ttm: ttm_fault callback to allow driver to handle bo placement V6 2010-04-20 14:12:05 +10:00
ttm_bo.c drm/ttm: Optimize delayed buffer destruction 2010-10-21 11:53:28 +10:00
ttm_execbuf_util.c drm/ttm: Add TTM execbuf utilities. 2009-12-07 15:22:05 +10:00
ttm_lock.c drm/ttm: Remove some leftover debug messages. 2010-05-07 09:20:56 +10:00
ttm_memory.c Merge branch 'drm-ttm-pool' into drm-core-next 2010-04-20 13:12:28 +10:00
ttm_module.c drm: move ttm global code to core drm 2010-08-04 09:46:06 +10:00
ttm_object.c drm/ttm: remove padding from ttm_ref_object on 64bit builds 2010-02-01 11:24:50 +10:00
ttm_page_alloc.c drm: ttm sparse fixes. 2010-09-24 10:09:08 +10:00
ttm_tt.c Merge branch 'drm-ttm-pool' into drm-core-next 2010-04-20 13:12:28 +10:00