Skip to content
Snippets Groups Projects
Commit e9b10953 authored by Matthew Garrett's avatar Matthew Garrett Committed by Matt Fleming
Browse files

x86, EFI: Calculate the EFI framebuffer size instead of trusting the firmware


Seth Forshee reported that his system was reporting that the EFI framebuffer
stretched from 0x90010000-0xb0010000 despite the GPU's BAR only covering
0x90000000-0x9ffffff. It's safer to calculate this value from the pixel
stride and screen height (values we already depend on) rather than face
potential problems with resource allocation later on.

Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
Tested-by: default avatarSeth Forshee <seth.forshee@canonical.com>
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
parent f462ed93
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment