audk/CorebootPayloadPkg/FbGop
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
..
ComponentName.c CorebootPayloadPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
FbGop.c CorebootPayloadPkg/FbGop: Locate correct framebuffer device 2019-04-09 14:49:46 -07:00
FbGop.h CorebootPayloadPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
FbGop.inf CorebootPayloadPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00