RE: [PATCH] OvmfPkg: reserve igd memory by E820

From: Corvin_Köhne <>
Date: Tue, 05 Apr 2022 13:45:38 UTC

> > I don't know if it's possible to extract it from host firmware within
> > OS context easily.
> Extracting from firmware updates is probably easier.

Good idea but I'll focus on the rest first because I have access to
the GOP driver for my systems.

> > According to Intel you should ask your board manufacturer.
> I'm wondering why if the opregion initialization (which actually is
> board-specific) is not done by the gop driver.

From my experience and as far as I know, Intels GOP driver seems to be
platform independent. I think only Intel can tell us why.

> > > Once we have the code for vgabios and PlatformGopPolicy we can roll them
> > > with the intelgop driver into a rom image with EfiRom.  Ideally also add
> > > opregion content to the rom somehow.
> >
> > Sounds good. Does these EFI drivers have to be maintained outside of
> > EDKII?
> Hosting this in is probably
> one option (not fully sure about the policy there).
> Creating a separate project for that might also make sense given that
> the roms will not be generic but host-specific, so end-users will have
> to install the tools needed to collect host-specific bits and to build
> the final rom image.

I'm going to start working on that locally. Maybe while working on it,
I'll have an idea where's the best place to maintain it.

Best regards

Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Beckhoff
Registered office: Verl, Germany | Register court: Guetersloh HRA 7075