summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2024-12-20 14:00:28 +0300
committerArd Biesheuvel <ardb@kernel.org>2025-01-14 10:35:27 +0300
commitb52587c5e897e91ad59a59741e8af086151e7fbc (patch)
tree1dea4db93e7a8a34ba9de7ccedd8d9ff3277ecf7 /tools/perf/scripts/python/exported-sql-viewer.py
parent60a34085c36d6eb292c1e03bc355b1aa3a74a689 (diff)
downloadlinux-b52587c5e897e91ad59a59741e8af086151e7fbc.tar.xz
efi/libstub: Refactor and clean up GOP resolution picker code
The EFI stub implements various ways of setting the resolution of the EFI framebuffer at boot, and this duplicates a lot of boilerplate for iterating over the supported modes and extracting the resolution and color depth. Refactor this into a single helper that takes a callback, and use it for the 'auto', 'list' and 'res' selection methods. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions