diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2024-12-20 12:00:28 +0100 |
|---|---|---|
| committer | Ard Biesheuvel <ardb@kernel.org> | 2025-01-14 08:35:27 +0100 |
| commit | b52587c5e897e91ad59a59741e8af086151e7fbc (patch) | |
| tree | 1dea4db93e7a8a34ba9de7ccedd8d9ff3277ecf7 /scripts/gdb/linux/rbtree.py | |
| parent | 60a34085c36d6eb292c1e03bc355b1aa3a74a689 (diff) | |
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 'scripts/gdb/linux/rbtree.py')
0 files changed, 0 insertions, 0 deletions
