linux/drivers/gpu/drm/ttm
Thomas Hellstrom 7a39f35ce4 drm/ttm: TTM fault handler helpers
With the vmwgfx dirty tracking, the default TTM fault handler is not
completely sufficient (vmwgfx need to modify the vma->vm_flags member,
and also needs to restrict the number of prefaults).

We also want to replicate the new ttm_bo_vm_reserve() functionality

So start turning the TTM vm code into helpers: ttm_bo_vm_fault_reserved()
and ttm_bo_vm_reserve(), and provide a default TTM fault handler for other
drivers to use.

Cc: "Christian König" <christian.koenig@amd.com>

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: "Christian König" <christian.koenig@amd.com> #v1
2019-06-18 15:19:34 +02:00
..
Makefile drm/ttm, drm/vmwgfx: Move the lock- and object functionality to the vmwgfx driver 2018-09-27 15:19:20 +02:00
ttm_agp_backend.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_bo_manager.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_bo_util.c drm/ttm: fix LRU handling in ttm_buffer_object_transfer 2018-11-30 12:00:57 -05:00
ttm_bo_vm.c drm/ttm: TTM fault handler helpers 2019-06-18 15:19:34 +02:00
ttm_bo.c drm/ttm: Allow the driver to provide the ttm struct vm_operations_struct 2019-06-18 15:19:34 +02:00
ttm_execbuf_util.c drm/ttm: Make LRU removal optional v2 2019-05-31 10:39:34 -05:00
ttm_memory.c drm pull request for 5.2 2019-05-08 21:35:19 -07:00
ttm_module.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_page_alloc_dma.c drm/ttm: remove dead codes 2018-08-27 11:11:02 -05:00
ttm_page_alloc.c drm/ttm: fix incrementing the page pointer for huge pages 2019-04-11 10:01:51 -05:00
ttm_tt.c drm/ttm: clean up non-x86 definitions on ttm_tt 2018-08-01 17:23:56 -05:00