Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OvmfPkg: Call PlatformInitializeConsole for GPU passthrough case #2325

Merged

Conversation

ardbiesheuvel
Copy link
Member

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

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>
@ardbiesheuvel ardbiesheuvel added the push Auto push patch series in PR if all checks pass label Dec 17, 2021
@mergify mergify bot merged commit ee1f826 into tianocore:master Dec 17, 2021
@ardbiesheuvel ardbiesheuvel deleted the pull-ovmf-tpm-gpu-passthrough-fix branch September 7, 2022 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
push Auto push patch series in PR if all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants