diff options
| author | Matthew Auld <[email protected]> | 2019-08-09 21:29:24 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-08-10 19:47:40 +0100 |
| commit | 14d1b9a6247c4548015d940ca92dbea05c0245bb (patch) | |
| tree | 2fb7c79a425eeb57ba6f5dbed109f2e6a674be6a /tools/perf/scripts/python | |
| parent | 05f219d709ec5775b631b383860d3b4c8691a45f (diff) | |
drm/i915: buddy allocator
Simple buddy allocator. We want to allocate properly aligned
power-of-two blocks to promote usage of huge-pages for the GTT, so 64K,
2M and possibly even 1G. While we do support allocating stuff at a
specific offset, it is more intended for preallocating portions of the
address space, say for an initial framebuffer, for other uses drm_mm is
probably a much better fit. Anyway, hopefully this can all be thrown
away if we eventually move to having the core MM manage device memory.
Signed-off-by: Matthew Auld <[email protected]>
Cc: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions