summaryrefslogtreecommitdiff
path: root/OvmfPkg/PlatformDxe/Platform.inf
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2014-03-22 07:13:09 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2014-03-22 07:13:09 +0000
commitbdaf30e4e6eb0172c4adecad6276e7bc26714b6a (patch)
tree46f0723b5d80b62f22cc451ff56f9a8c28b1458b /OvmfPkg/PlatformDxe/Platform.inf
parent5267c89b4d114e16d5573f09c6f37af0b078abee (diff)
downloadedk2-platforms-bdaf30e4e6eb0172c4adecad6276e7bc26714b6a.tar.xz
OvmfPkg: PlatformDxe: set preferred video resolution from platform config
The GraphicsConsoleDxe driver (in MdeModulePkg/Universal/Console) determines the preferred video resolution from the dynamic PCDs - gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution - gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution Setting the graphics resolution during boot is useful when the guest OS (for lack of a dedicated display driver) continues to work with the original GOP resolution and framebuffer. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15366 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/PlatformDxe/Platform.inf')
-rw-r--r--OvmfPkg/PlatformDxe/Platform.inf4
1 files changed, 4 insertions, 0 deletions
diff --git a/OvmfPkg/PlatformDxe/Platform.inf b/OvmfPkg/PlatformDxe/Platform.inf
index 47ed25b5c7..315f55949d 100644
--- a/OvmfPkg/PlatformDxe/Platform.inf
+++ b/OvmfPkg/PlatformDxe/Platform.inf
@@ -42,6 +42,10 @@
UefiRuntimeServicesTableLib
UefiDriverEntryPoint
+[Pcd]
+ gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution
+ gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution
+
[Guids]
gOvmfPlatformConfigGuid