opnsense-src/sys/dev/drm2/ttm
Konstantin Belousov 2c0f13aa59 vm_wait() rework.
Make vm_wait() take the vm_object argument which specifies the domain
set to wait for the min condition pass.  If there is no object
associated with the wait, use curthread' policy domainset.  The
mechanics of the wait in vm_wait() and vm_wait_domain() is supplied by
the new helper vm_wait_doms(), which directly takes the bitmask of the
domains to wait for passing min condition.

Eliminate pagedaemon_wait().  vm_domain_clear() handles the same
operations.

Eliminate VM_WAIT and VM_WAITPFAULT macros, the direct functions calls
are enough.

Eliminate several control state variables from vm_domain, unneeded
after the vm_wait() conversion.

Scetched and reviewed by:	jeff
Tested by:	pho
Sponsored by:	The FreeBSD Foundation, Mellanox Technologies
Differential revision:	https://reviews.freebsd.org/D14384
2018-02-20 10:13:13 +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.c Introduce a new mechanism for relocating virtual pages to a new physical 2015-12-19 18:42:50 +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 Allow DRM2 code to be built on platforms without AGP. 2016-11-13 13:31:23 +00:00
ttm_bo_vm.c vm_wait() rework. 2018-02-20 10:13:13 +00:00
ttm_execbuf_util.c
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.c vm_wait() rework. 2018-02-20 10:13:13 +00:00
ttm_page_alloc.h
ttm_page_alloc_dma.c sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
ttm_placement.h
ttm_tt.c A change to KPI of vm_pager_get_pages() and underlying VOP_GETPAGES(). 2015-12-16 21:30:45 +00:00