diff options
| author | Thomas Hellstrom <[email protected]> | 2019-02-06 11:55:08 +0000 |
|---|---|---|
| committer | Thomas Hellstrom <[email protected]> | 2019-06-18 13:19:34 +0000 |
| commit | 7a39f35ce43f96ff293cc90f845416d03566b14b (patch) | |
| tree | cd864576a32bf016965eb50c1736577779ab10c5 /net/unix/af_unix.c | |
| parent | drm/ttm: Allow the driver to provide the ttm struct vm_operations_struct (diff) | |
| download | kernel-7a39f35ce43f96ff293cc90f845416d03566b14b.tar.gz kernel-7a39f35ce43f96ff293cc90f845416d03566b14b.zip | |
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" <[email protected]>
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: "Christian König" <[email protected]> #v1
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
