]> git.baikalelectronics.ru Git - kernel.git/commit
efi/gop: Allow automatically choosing the best mode
authorArvind Sankar <nivedita@alum.mit.edu>
Sat, 28 Mar 2020 16:06:01 +0000 (12:06 -0400)
committerArd Biesheuvel <ardb@kernel.org>
Thu, 23 Apr 2020 18:15:06 +0000 (20:15 +0200)
commite57c88251f7840c0e622ec73075bba6486927528
tree3bf12305975b235657491767a0cd95ea7148e6ec
parent94854839e55d76a9b3720a7b7cd5fc9edcaead6c
efi/gop: Allow automatically choosing the best mode

Add the ability to automatically pick the highest resolution video mode
(defined as the product of vertical and horizontal resolution) by using
a command-line argument of the form
video=efifb:auto

If there are multiple modes with the highest resolution, pick one with
the highest color depth.

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20200328160601.378299-2-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Documentation/fb/efifb.rst
drivers/firmware/efi/libstub/gop.c