1df6a2ebd7
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> |
||
---|---|---|
.. | ||
Makefile | ||
ttm_agp_backend.c | ||
ttm_bo.c | ||
ttm_bo_util.c | ||
ttm_bo_vm.c | ||
ttm_execbuf_util.c | ||
ttm_lock.c | ||
ttm_memory.c | ||
ttm_module.c | ||
ttm_object.c | ||
ttm_page_alloc.c | ||
ttm_tt.c |