aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2022-02-25 14:54:59 +0000
committerMatthew Auld <[email protected]>2022-02-28 08:47:34 +0000
commit26ffcbbef712f6fb52f16e6f7d5cde736b80d8c4 (patch)
tree560a461363043e9bb9246a8c3b9e7c532d93eb41 /tools/perf/scripts
parent30b9d1b3ef374403652fc10fa36b9a5f32cc274d (diff)
drm/i915/buddy: track available visible size
Track the total amount of available visible memory, and also track per-resource the amount of used visible memory. For now this is useful for our debug output, and deciding if it is even worth calling into the buddy allocator. In the future tracking the per-resource visible usage will be useful for when deciding if we should attempt to evict certain buffers. v2: - s/place->lpfn/lpfn/, that way we can avoid scanning the list if the entire range is already mappable. - Move the end declaration inside the if block(Thomas). - Make sure to also account for reserved memory. Signed-off-by: Matthew Auld <[email protected]> Cc: Thomas Hellström <[email protected]> Reviewed-by: Thomas Hellström <[email protected]> Acked-by: Nirmoy Das <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions