diff options
author | 2021-01-26 10:30:19 +0000 | |
---|---|---|
committer | 2021-03-24 19:30:35 +0100 | |
commit | a29a22917d4cf14ad4e7a8c4c503629d5a771f06 (patch) | |
tree | 12c4b8765b23abc8bf0e012620679d3ac2331c0f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/gt: Move the defer_request waiter active assertion (diff) | |
download | wireguard-linux-a29a22917d4cf14ad4e7a8c4c503629d5a771f06.tar.xz wireguard-linux-a29a22917d4cf14ad4e7a8c4c503629d5a771f06.zip |
drm/i915/buddy: document the unused header bits
The largest possible order is (63-PAGE_SHIFT), given that our min chunk
size is PAGE_SIZE. With that we should only need at most 6 bits to
represent all possible orders, giving us back 4 bits for other potential
uses. Include a simple selftest to verify this.
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20210126103019.177622-1-matthew.auld@intel.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions