mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 10:45:49 +00:00
d9ff0323d0
Add the ability to choose a video mode using a command-line argument of the form video=efifb:<xres>x<yres> Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Link: https://lore.kernel.org/r/20200320020028.1936003-13-nivedita@alum.mit.edu Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
59 lines
1.6 KiB
ReStructuredText
59 lines
1.6 KiB
ReStructuredText
==============
|
|
What is efifb?
|
|
==============
|
|
|
|
This is a generic EFI platform driver for systems with UEFI firmware. The
|
|
system must be booted via the EFI stub for this to be usable. efifb supports
|
|
both firmware with Graphics Output Protocol (GOP) displays as well as older
|
|
systems with only Universal Graphics Adapter (UGA) displays.
|
|
|
|
Supported Hardware
|
|
==================
|
|
|
|
- iMac 17"/20"
|
|
- Macbook
|
|
- Macbook Pro 15"/17"
|
|
- MacMini
|
|
- ARM/ARM64/X86 systems with UEFI firmware
|
|
|
|
How to use it?
|
|
==============
|
|
|
|
For UGA displays, efifb does not have any kind of autodetection of your
|
|
machine.
|
|
|
|
You have to add the following kernel parameters in your elilo.conf::
|
|
|
|
Macbook :
|
|
video=efifb:macbook
|
|
MacMini :
|
|
video=efifb:mini
|
|
Macbook Pro 15", iMac 17" :
|
|
video=efifb:i17
|
|
Macbook Pro 17", iMac 20" :
|
|
video=efifb:i20
|
|
|
|
For GOP displays, efifb can autodetect the display's resolution and framebuffer
|
|
address, so these should work out of the box without any special parameters.
|
|
|
|
Accepted options:
|
|
|
|
======= ===========================================================
|
|
nowc Don't map the framebuffer write combined. This can be used
|
|
to workaround side-effects and slowdowns on other CPU cores
|
|
when large amounts of console data are written.
|
|
======= ===========================================================
|
|
|
|
Options for GOP displays:
|
|
|
|
mode=n
|
|
The EFI stub will set the mode of the display to mode number n if
|
|
possible.
|
|
|
|
<xres>x<yres>
|
|
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.
|
|
|
|
Edgar Hucek <gimli@dark-green.com>
|