bianbu-linux-6.6/drivers/gpu/drm/ttm
Christian König 735c466465 drm/ttm: optimize pool allocations a bit v2
If we got a page pool use it as much as possible.

If we can't get more pages from the pool allocate as much as possible.

Only if that still doesn't work reduce the order and try again.

v2: minor cleanups

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221107195808.1873-1-christian.koenig@amd.com
2022-11-08 10:45:30 +01:00
..
Makefile drm/ttm: add ttm_sys_manager v3 2021-05-03 12:50:41 +02:00
ttm_agp_backend.c drm/ttm: Add a parameter to add extra pages into ttm_tt 2022-04-02 08:22:48 +05:30
ttm_bo.c drm/ttm: rework on ttm_resource to use size_t type 2022-10-27 11:42:58 +02:00
ttm_bo_util.c drm/ttm: rework on ttm_resource to use size_t type 2022-10-27 11:42:58 +02:00
ttm_bo_vm.c drm/ttm: rework on ttm_resource to use size_t type 2022-10-27 11:42:58 +02:00
ttm_device.c drm/ttm: fix missing NULL check in ttm_device_swapout 2022-06-10 13:20:21 +02:00
ttm_execbuf_util.c drm/ttm: fix logic inversion in ttm_eu_reserve_buffers 2022-04-11 16:00:57 +02:00
ttm_module.c LoongArch: Add writecombine support for drm 2022-06-03 20:09:27 +08:00
ttm_module.h drm/ttm: add ttm_sys_manager v3 2021-05-03 12:50:41 +02:00
ttm_pool.c drm/ttm: optimize pool allocations a bit v2 2022-11-08 10:45:30 +01:00
ttm_range_manager.c drm/ttm: rework on ttm_resource to use size_t type 2022-10-27 11:42:58 +02:00
ttm_resource.c drm/ttm: rework on ttm_resource to use size_t type 2022-10-27 11:42:58 +02:00
ttm_sys_manager.c drm/ttm: add back a reference to the bdev to the res manager 2022-01-26 15:29:24 +01:00
ttm_tt.c drm/ttm: use kvcalloc() instead of kvmalloc_array() in ttm_tt v2 2022-04-21 14:47:30 +02:00