aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorShane Xiao <[email protected]>2023-02-18 11:58:45 +0800
committerAlex Deucher <[email protected]>2023-02-23 17:35:58 -0500
commit2866cc09617991cb4f9f36fbebdbba966fe5a21a (patch)
tree2f5c527bb62ac4c9c54f5c3f956e14dc72331a20 /tools/perf/scripts/python/bin/stackcollapse-report
parentc105518679b6e87232874ffc989ec403bee59664 (diff)
drm/amdgpu: optimize VRAM allocation when using drm buddy
Since the VRAM manager changed from drm mm to drm buddy. It's not necessary to allocate 2MB aligned VRAM for more than 2MB unaligned size, and then do trim. This method improves the allocation efficiency and reduces memory fragmentation. v2: Correct the remainder operation Signed-off-by: Shane Xiao <[email protected]> Reviewed-by: Arunpravin Paneer Selvam <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions