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>
This commit is contained in:

committed by
Ard Biesheuvel

parent
d9ff0323d0
commit
9a1663bc4d
@@ -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>
|
||||
|
Reference in New Issue
Block a user