aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorArunpravin Paneer Selvam <[email protected]>2023-01-12 04:00:27 -0800
committerChristian König <[email protected]>2023-01-12 13:50:28 +0100
commit5640e81607152d7f2d2558227c0f6cb78b8f39cf (patch)
treec4a43073a03b6745a8dea991b446445cd21301d7 /scripts/gdb/linux/modules.py
parent040b35c19bf2bdbb8ba5f8742b4e199ace3cbdc3 (diff)
drm: Optimize drm buddy top-down allocation method
We are observing performance drop in many usecases which include games, 3D benchmark applications,etc.. To solve this problem, We are strictly not allowing top down flag enabled allocations to steal the memory space from cpu visible region. The idea is, we are sorting each order list entries in ascending order and compare the last entry of each order list in the freelist and return the max block. This patch improves the 3D benchmark scores and solves fragmentation issues. All drm buddy selftests are verfied. drm_buddy: pass:6 fail:0 skip:0 total:6 Signed-off-by: Arunpravin Paneer Selvam <[email protected]> Acked-by: Christian König <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Christian König <[email protected]> CC: Cc: [email protected] # 5.18+
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions