]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg: Call PlatformInitializeConsole for GPU passthrough case
authorStefan Berger <stefanb@linux.ibm.com>
Fri, 17 Dec 2021 02:37:22 +0000 (21:37 -0500)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 17 Dec 2021 17:36:14 +0000 (17:36 +0000)
commitee1f8262b83dd88b30091e6e81221ff299796099
tree58bfeb0ab1cf83c99f459d6f832e3c3db2c29dc4
parentf129b1f06f46f00fcfb770fad0f3cc400408ecf5
OvmfPkg: Call PlatformInitializeConsole for GPU passthrough case

For GPU passthrough support we have to initialize the console after
EfiBootManagerDispatchDeferredImages() has loaded ROMs, so call it after
this. This was the calling order before the TCG physical presence support
had to be moved and the console initialized earlier so user interaction
could be supported before processing TCG physical presence opcodes.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Tested-by: Shivanshu Goyal <shivanshu3@gmail.com>
Acked-by: Jiewen Yao <jiewen.yao@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
OvmfPkg/Library/PlatformBootManagerLibBhyve/BdsPlatform.c
OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.c