[edk2,edk2-platforms,6/6] Platform/AMD/OverdriveBoard: use default resolution for GOP

Message ID 20181205185020.21441-7-ard.biesheuvel@linaro.org
State New
Headers show
Series
  • Styx: fixes for IASL abuse and more
Related show

Commit Message

Ard Biesheuvel Dec. 5, 2018, 6:50 p.m.
Set the GOP resolution to 0x0 so that the resolution will be
chosen by the driver, usually based on the capabilities of
the connected display.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 Platform/AMD/OverdriveBoard/OverdriveBoard.dsc | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.19.2

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Patch

diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
index ed67c986b7db..05433d4472e8 100644
--- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
+++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
@@ -485,6 +485,9 @@  DEFINE DO_CAPSULE   = FALSE
   gAmdModulePkgTokenSpaceGuid.PcdPciePort2Present|1
   gAmdModulePkgTokenSpaceGuid.PcdPcieHardcodeEnumeration|TRUE
 
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
+
 [PcdsDynamicDefault.common]
   gAmdStyxTokenSpaceGuid.PcdSocCoreCount|$(NUM_CORES)
   gArmTokenSpaceGuid.PcdSystemMemorySize|0x0400000000