Files
linux/include/drm
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
..
2024-05-08 15:31:58 +03:00
2024-05-14 10:30:15 +03:00
2024-05-02 11:33:15 +02:00
2023-11-14 10:23:12 +01:00
2024-03-07 17:17:25 +02:00
2024-04-15 16:12:49 +02:00
2024-06-06 14:46:15 -04:00
2024-02-05 11:02:07 +01:00
2021-10-04 12:06:14 +02:00
2023-06-02 20:05:45 +03:00