mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
7aef29f4d4
The default TTM fault handler may not be completely sufficient (vmwgfx needs to do some bookkeeping, control the write protectionand also needs to restrict the number of prefaults). Also make it possible replicate ttm_bo_vm_reserve() functionality for, for example, mkwrite handlers. So turn the TTM vm code into helpers: ttm_bo_vm_fault_reserved(), ttm_bo_vm_open(), ttm_bo_vm_close() and ttm_bo_vm_reserve(). Also provide a default TTM fault handler for other drivers to use. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Christian König <christian.koenig@amd.com> |
||
---|---|---|
.. | ||
ttm_bo_api.h | ||
ttm_bo_driver.h | ||
ttm_debug.h | ||
ttm_execbuf_util.h | ||
ttm_memory.h | ||
ttm_module.h | ||
ttm_page_alloc.h | ||
ttm_placement.h | ||
ttm_set_memory.h | ||
ttm_tt.h |