kernel_optimize_test/include/drm/ttm
Thomas Hellstrom 1df6a2ebd7 drm/ttm: Fix two race conditions + fix busy codepaths
This fixes a race pointed out by Dave Airlie where we don't take a buffer
object about to be destroyed off the LRU lists properly. It also fixes a rare
case where a buffer object could be destroyed in the middle of an
accelerated eviction.

The patch also adds a utility function that can be used to prematurely
release GPU memory space usage of an object waiting to be destroyed.
For example during eviction or swapout.

The above mentioned commit didn't queue the buffer on the delayed destroy
list under some rare circumstances. It also didn't completely honor the
remove_all parameter.

Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=615505
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591061

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-06 09:04:43 +10:00
..
ttm_bo_api.h drm/ttm: Fix two race conditions + fix busy codepaths 2010-10-06 09:04:43 +10:00
ttm_bo_driver.h drm: move ttm global code to core drm 2010-08-04 09:46:06 +10:00
ttm_execbuf_util.h drm/ttm: Add TTM execbuf utilities. 2009-12-07 15:22:05 +10:00
ttm_lock.h drm/ttm: Add ttm lock functionality. 2009-12-07 15:22:03 +10:00
ttm_memory.h drm/ttm: Fix build failure due to missing struct page 2009-12-04 09:11:16 +10:00
ttm_module.h drm: move ttm global code to core drm 2010-08-04 09:46:06 +10:00
ttm_object.h drm/ttm: Add more driver type enums 2009-12-15 08:38:18 +10:00
ttm_page_alloc.h drm/ttm: Allocate the page pool manager in the heap. 2010-07-07 12:14:11 +10:00
ttm_placement.h