summaryrefslogtreecommitdiff
path: root/Documentation/fb
diff options
context:
space:
mode:
authorArvind Sankar <nivedita@alum.mit.edu>2020-03-20 05:00:27 +0300
committerArd Biesheuvel <ardb@kernel.org>2020-04-23 21:15:06 +0300
commit9a1663bc4d9856f6810786fec597dab5440a9d8d (patch)
treeb25701daefe9cd1d18551446fc2a5feb329dd4c4 /Documentation/fb
parentd9ff0323d074c6c06467118c7a43d5748f147369 (diff)
downloadlinux-9a1663bc4d9856f6810786fec597dab5440a9d8d.tar.xz
efi/gop: Allow specifying depth as well as resolution
Extend the video mode argument to handle an optional color depth specification of the form video=efifb:<xres>x<yres>[-(rgb|bgr|<bpp>)] Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Link: https://lore.kernel.org/r/20200320020028.1936003-14-nivedita@alum.mit.edu Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'Documentation/fb')
-rw-r--r--Documentation/fb/efifb.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/fb/efifb.rst b/Documentation/fb/efifb.rst
index 635275071307..eca38466487a 100644
--- a/Documentation/fb/efifb.rst
+++ b/Documentation/fb/efifb.rst
@@ -50,9 +50,11 @@ mode=n
The EFI stub will set the mode of the display to mode number n if
possible.
-<xres>x<yres>
+<xres>x<yres>[-(rgb|bgr|<bpp>)]
The EFI stub will search for a display mode that matches the specified
- horizontal and vertical resolution, and set the mode of the display to
- it if one is found.
+ horizontal and vertical resolution, and optionally bit depth, and set
+ the mode of the display to it if one is found. The bit depth can either
+ "rgb" or "bgr" to match specifically those pixel formats, or a number
+ for a mode with matching bits per pixel.
Edgar Hucek <gimli@dark-green.com>