freebsd-nq/sys/dev/drm2
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
..
i915 A miss from r284310. vm_pager_get_pages() updates the array, so there is 2015-06-12 13:15:14 +00:00
radeon
ttm ttm_vm_page_alloc: use vm_page_alloc for pages without dma32 restriction 2015-06-15 13:43:23 +00:00
ati_pcigart.c
drm_agpsupport.c
drm_atomic.h
drm_auth.c
drm_buffer.c
drm_buffer.h
drm_bufs.c
drm_context.c
drm_core.h
drm_crtc_helper.c
drm_crtc_helper.h
drm_crtc.c
drm_crtc.h
drm_dma.c
drm_dp_helper.c
drm_dp_helper.h
drm_dp_iic_helper.c
drm_drv.c
drm_edid_modes.h
drm_edid.c
drm_edid.h
drm_fb_helper.c
drm_fb_helper.h
drm_fixed.h
drm_fops.c
drm_fourcc.h
drm_gem_names.c
drm_gem_names.h
drm_gem.c
drm_global.c
drm_global.h
drm_hashtab.c
drm_hashtab.h
drm_ioc32.c
drm_ioctl.c
drm_irq.c
drm_linux_list_sort.c
drm_linux_list.h
drm_lock.c
drm_memory.c
drm_mm.c
drm_mm.h
drm_mode.h
drm_modes.c
drm_os_freebsd.c
drm_os_freebsd.h
drm_pci.c
drm_pciids.h
drm_sarea.h
drm_scatter.c
drm_stub.c
drm_sysctl.c
drm_vm.c
drm.h
drmP.h