[edk2-devel] [PATCH v3] OvmfPkg: Call PlatformInitializeConsole for GPU passthrough case

Ard Biesheuvel ardb at kernel.org
Fri Dec 17 17:37:12 UTC 2021


On Fri, 17 Dec 2021 at 06:52, Gerd Hoffmann <kraxel at redhat.com> wrote:
>
> On Thu, Dec 16, 2021 at 09:41:40PM -0500, Stefan Berger wrote:
> > 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.
> >
> > Fixes: b8675deaa819631db2667df63f89799fe65fc906
> > Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=3771
> > Cc: Ard Biesheuvel <ardb+tianocore at kernel.org>
> > Cc: Jiewen Yao <jiewen.yao at intel.com>
> > Cc: Jordan Justen <jordan.l.justen at intel.com>
> > Cc: Gerd Hoffmann <kraxel at redhat.com>
> > Signed-off-by: Stefan Berger <stefanb at linux.ibm.com>
> > Tested-by: Shivanshu Goyal <shivanshu3 at gmail.com>
>
> > +  //
> > +  // GPU passthrough only allows Console enablement after ROM image load
> > +  //
> > +  PlatformInitializeConsole (gPlatformConsole);
>
> Ah, fixed already.
>
> Acked-by: Gerd Hoffmann <kraxel at redhat.com>
>
> take care,
>   Gerd
>

Merged as #2325

Thanks all,


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#85082): https://edk2.groups.io/g/devel/message/85082
Mute This Topic: https://groups.io/mt/87782159/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list