diff options
author | Christian König <christian.koenig@amd.com> | 2022-11-07 20:40:11 +0100 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2022-11-08 10:45:30 +0100 |
commit | 735c466465eba51deaee3012d8403c10fc7c8c03 (patch) | |
tree | 08ecc8ada311ac292c85577204f0b70f2a3e4890 /rust | |
parent | 611fc22c9e5e13276c819a7f7a7d19b794bbed1a (diff) |
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
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions