audk/CorebootPayloadPkg
Maurice Ma ae2fb9ead4 CorebootPayloadPkg/FbGop: Locate correct framebuffer device
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1628

Current FbGop driver might bind to the wrong PCI device
if a system has multiple PCI display devices. The original
idea was to reuse the generic GraphicsOutputDxe to address
this issue. However, after exploring different approaches
discussed in the bugzilla, it turned out that the best
approach is to enhance the current FbGop driver to match
the PCI device BAR value with the framebuffer base address.
This patch implemented this enhancement by selecting the
PCI device with matched framebuffer base in its PCI BAR.

This has been tested with coreboot on QEMU and Apollo Lake
platform.

Cc: Prince Agyeman <prince.agyeman@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Maurice Ma <maurice.ma@intel.com>
Reviewed-by: Benjamin You <benjamin.you@intel.com>
2019-04-09 14:49:46 -07:00
..
FbGop CorebootPayloadPkg/FbGop: Locate correct framebuffer device 2019-04-09 14:49:46 -07:00
Library CorebootPayloadPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
BuildAndIntegrationInstructions.txt CorebootPayloadPkg: Rename CorebootPayloadPkgX64.dsc X64 -> Ia32X64 2015-04-14 00:23:17 +00:00
CorebootPayloadPkg.dec CorebootPayloadPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CorebootPayloadPkg.fdf CorebootPayloadPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CorebootPayloadPkgIa32.dsc CorebootPayloadPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
CorebootPayloadPkgIa32X64.dsc CorebootPayloadPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00