linux/include/drm/ttm
Zhu Lingshan 0ddd2ae586 drm/ttm: increase ttm pre-fault value to PMD size
ttm page fault handler ttm_bo_vm_fault_reserved() maps
TTM_BO_VM_NUM_PREFAULT more pages beforehand
due to the principle of locality.

However, on some platform the page faults are more costly, this
patch intends to increase the number of ttm pre-fault to relieve
the number of page faults.

When multiple levels of page table is supported, the new default
value would be the PMD size, similar to huge page.

Signed-off-by: Zhu Lingshan <lingshan.zhu@amd.com>
Reported-and-tested-by: Li Jingxiang <jingxiang.li@ecarxgroup.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240604084934.225738-1-lingshan.zhu@amd.com
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
2024-06-20 15:47:34 +02:00
..
ttm_bo.h drm/ttm: increase ttm pre-fault value to PMD size 2024-06-20 15:47:34 +02:00
ttm_caching.h drm/ttm: make ttm_caching.h self-contained 2024-03-11 11:47:06 +02:00
ttm_device.h drm/ttm: let struct ttm_device_funcs be placed in rodata 2023-05-17 11:28:28 +03:00
ttm_execbuf_util.h drm/ttm: fix ttm_execbuf_util.h kernel-doc warnings 2024-03-11 11:47:06 +02:00
ttm_kmap_iter.h drm/ttm: fix ttm_kmap_iter.h kernel-doc warnings 2024-03-11 11:47:06 +02:00
ttm_placement.h drm/ttm: replace busy placement with flags v6 2024-01-25 09:59:44 +01:00
ttm_pool.h drm/ttm: make ttm_pool.h self-contained 2024-03-11 11:47:06 +02:00
ttm_range_manager.h drm/ttm: Try to check if new ttm man out of bounds during compile 2021-09-13 10:14:28 +02:00
ttm_resource.h drm/ttm: warn when resv objs are mixed in a bulk_move 2024-03-20 11:18:10 +01:00
ttm_tt.h drm/ttm: Make sure the mapped tt pages are decrypted when needed 2024-01-26 14:10:52 -05:00