[PATCH 0/2] [SRU][B/C/D/OEM]Fix Xorg crash with nomodeset when BIOS
Aaron Ma
aaron.ma at canonical.com
Tue Jan 22 07:05:44 UTC 2019
BugLink: https://bugs.launchpad.net/bugs/1812797
[Impact]
On dual GPU platform, BIOS set frame buffer addr to 64-bit,
usually when CSM=NO setting in BIOS.
When no proper GPU driver loaded, Xorg driver will use the wrong fb addr,
then crash.
[Fix]
Add 64-bit efifb support, make Xorg find the correct GPU fb addr.
If still failed, use the first GPU as default.
[Test]
Tested on Intel and NV dual GPU platform. Works fine.
[Regression Potential]
Upstream fix, low risk.
Verified on ThinkPad P1/P52.
Aaron Ma (2):
vgaarb: Add support for 64-bit frame buffer address
vgaarb: Keep adding VGA device in queue
drivers/gpu/vga/vgaarb.c | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
--
2.17.1
More information about the kernel-team
mailing list