diff options
author | 2024-12-20 12:00:28 +0100 | |
---|---|---|
committer | 2025-01-14 08:35:27 +0100 | |
commit | b52587c5e897e91ad59a59741e8af086151e7fbc (patch) | |
tree | 1dea4db93e7a8a34ba9de7ccedd8d9ff3277ecf7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | efi/libstub: Simplify GOP handling code (diff) | |
download | wireguard-linux-b52587c5e897e91ad59a59741e8af086151e7fbc.tar.xz wireguard-linux-b52587c5e897e91ad59a59741e8af086151e7fbc.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions