diff options
author | Arvind Sankar <nivedita@alum.mit.edu> | 2020-03-28 19:06:01 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-04-23 21:15:06 +0300 |
commit | 45d97a749e9fec6d5324b19561ce5fbfa937d60b (patch) | |
tree | 3bf12305975b235657491767a0cd95ea7148e6ec /Documentation | |
parent | 9a1663bc4d9856f6810786fec597dab5440a9d8d (diff) | |
download | linux-45d97a749e9fec6d5324b19561ce5fbfa937d60b.tar.xz |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/fb/efifb.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/fb/efifb.rst b/Documentation/fb/efifb.rst index eca38466487a..519550517fd4 100644 --- a/Documentation/fb/efifb.rst +++ b/Documentation/fb/efifb.rst @@ -57,4 +57,10 @@ mode=n "rgb" or "bgr" to match specifically those pixel formats, or a number for a mode with matching bits per pixel. +auto + The EFI stub will choose the mode with the highest resolution (product + of horizontal and vertical resolution). If there are multiple modes + with the highest resolution, it will choose one with the highest color + depth. + Edgar Hucek <gimli@dark-green.com> |