freebsd-skq/sys/dev/drm2/ttm
Andriy Gapon 2f1653808a ttm_vm_page_alloc: use vm_page_alloc for pages without dma32 restriction
This change re-organizes code a little bit to extract common pieces
of ttm_alloc_new_pages() and ttm_get_pages() into dedicated functions.
Also, for requests without address restrictions regular vm_page_alloc()
is used.
Lastly, when vm_page_alloc_contig() fails we call VM_WAIT before calling
vm_pageout_grow_cache() to ensure that there is enough free pages at all.

Reviewed by:	kib
MFC after:	15 days
2015-06-15 13:43:23 +00:00
..
ttm_agp_backend.c Port the TTM AGP backend to the FreeBSD agp driver and enable AGP support 2014-10-30 14:26:36 +00:00
ttm_bo_api.h
ttm_bo_driver.h Port the TTM AGP backend to the FreeBSD agp driver and enable AGP support 2014-10-30 14:26:36 +00:00
ttm_bo_manager.c
ttm_bo_util.c drm: Update the device-independent code to match Linux 3.8.13 2015-03-17 18:50:33 +00:00
ttm_bo_vm.c drm: Update the device-independent code to match Linux 3.8.13 2015-03-17 18:50:33 +00:00
ttm_bo.c drm: Update the device-independent code to match Linux 3.8.13 2015-03-17 18:50:33 +00:00
ttm_execbuf_util.c drm/ttm: Import Linux commit f2d476a110bc24fde008698ae9018c99e803e25c 2013-08-25 14:52:20 +00:00
ttm_execbuf_util.h
ttm_lock.c drm: Update the device-independent code to match Linux 3.8.13 2015-03-17 18:50:33 +00:00
ttm_lock.h
ttm_memory.c
ttm_memory.h
ttm_module.h
ttm_object.c
ttm_object.h
ttm_page_alloc_dma.c
ttm_page_alloc.c ttm_vm_page_alloc: use vm_page_alloc for pages without dma32 restriction 2015-06-15 13:43:23 +00:00
ttm_page_alloc.h
ttm_placement.h
ttm_tt.c ttm: "to_page->valid = VM_PAGE_BITS_ALL" before vm_page_dirty(to_page) 2013-08-25 15:12:26 +00:00