linux/drivers/gpu/drm/ttm
Thomas Hellstrom 9c51ba1db3 drm/ttm: Fix potential ttm_mem_evict_first races.
1) The function was previously called with a potentially empty
LRU list which would have lead to an OOPS or servere corruption.
2) In rare cases, after reservation has succeeded, another process may
already have evicted it or even pinned it. We must revalidate the
buffer status after releasing the lru lock.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-12-16 15:34:40 +10:00
..
Makefile drm/ttm: Add TTM execbuf utilities. 2009-12-07 15:22:05 +10:00
ttm_agp_backend.c agp: switch AGP to use page array instead of unsigned long array 2009-06-19 10:21:42 +10:00
ttm_bo_util.c drm/ttm: Export symbols needed for the vmwgfx driver. 2009-12-07 15:22:07 +10:00
ttm_bo_vm.c drm/ttm: fix incorrect logic in ttm_bo_io path 2009-12-16 15:32:31 +10:00
ttm_bo.c drm/ttm: Fix potential ttm_mem_evict_first races. 2009-12-16 15:34:40 +10:00
ttm_execbuf_util.c drm/ttm: Add TTM execbuf utilities. 2009-12-07 15:22:05 +10:00
ttm_global.c drm/ttm: fix refcounting in ttm global code. 2009-10-06 15:46:10 +10:00
ttm_lock.c drm/ttm: Add ttm lock functionality. 2009-12-07 15:22:03 +10:00
ttm_memory.c drm/ttm: fix memory leak noticed by kmemleak. 2009-12-09 13:29:37 +10:00
ttm_module.c drm/ttm: Add a virtual ttm sysfs device. 2009-08-19 16:09:04 +10:00
ttm_object.c drm/ttm: Add user-space objects. 2009-12-07 15:22:01 +10:00
ttm_tt.c Merge branch 'drm-core-next' into drm-linus 2009-12-08 13:52:41 +10:00