summaryrefslogtreecommitdiffstats
path: root/Documentation/fb
diff options
context:
space:
mode:
authorArvind Sankar <nivedita@alum.mit.edu>2020-03-28 17:06:01 +0100
committerArd Biesheuvel <ardb@kernel.org>2020-04-23 20:15:06 +0200
commit45d97a749e9fec6d5324b19561ce5fbfa937d60b (patch)
tree3bf12305975b235657491767a0cd95ea7148e6ec /Documentation/fb
parentefi/gop: Allow specifying depth as well as resolution (diff)
downloadlinux-45d97a749e9fec6d5324b19561ce5fbfa937d60b.tar.xz
linux-45d97a749e9fec6d5324b19561ce5fbfa937d60b.zip
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/fb')
-rw-r--r--Documentation/fb/efifb.rst6
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>