On Wed, 19 Jun 2024 at 07:52, Marcin Juszkiewicz <[email protected]> wrote: > > QEMU no longer permits misaligned access to device memory, which breaks > QemuVideoDxe on SbsaQemu. > > c1d1910be6e04a8b1a73090cf2881fb698947a6e commit in EDK2 fixed it by > enabling WriteCombine for Framebuffer memory. This change enables that > fix. > > Signed-off-by: Marcin Juszkiewicz <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]> > --- > Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Platform/Qemu/SbsaQemu/SbsaQemu.dsc > b/Platform/Qemu/SbsaQemu/SbsaQemu.dsc > index b012eaa34147..11126bcaa1fe 100644 > --- a/Platform/Qemu/SbsaQemu/SbsaQemu.dsc > +++ b/Platform/Qemu/SbsaQemu/SbsaQemu.dsc > @@ -311,6 +311,9 @@ [PcdsFeatureFlag.common] > gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE > gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE > > + # Enable WriteCombine for FrameBuffer > + gUefiOvmfPkgTokenSpaceGuid.PcdRemapFrameBufferWriteCombine|TRUE > + > [PcdsFixedAtBuild.common] > gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000 > gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000 > -- > 2.45.1 > > > > ------------ > Groups.io Links: You receive all messages sent to this group. > View/Reply Online (#119626): https://edk2.groups.io/g/devel/message/119626 > Mute This Topic: https://groups.io/mt/106755714/5717338 > Group Owner: [email protected] > Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] > ------------ > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119627): https://edk2.groups.io/g/devel/message/119627 Mute This Topic: https://groups.io/mt/106755714/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
