audk/ArmPlatformPkg/ArmVExpressPkg
Ard Biesheuvel a30d5f9f90 ArmPlatformPkg/PL111LcdArmVExpressLib: use write-combine mapping for VRAM
Replace the uncached memory mapping of the framebuffer with a write-
combining one. This improves performance, and avoids issues with
unaligned accesses and DC ZVA instructions performed by the accelerated
memcpy/memset routines.

Instead of manipulating the memory attributes directly, use the
SetMemorySpaceAttributes() DXE services, which validates the attributes
against the capabilities of the region before making the actual change.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jeremy Linton <jeremy.linton@arm.com>
Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2017-04-06 21:31:48 +01:00
..
ArmVExpressDxe Revert "ArmPlatformPkg/ArmVExpressDxe: Change FDT default file names." 2015-07-08 16:20:30 +00:00
ArmVExpressFastBootDxe ArmPlatformPkg/ArmVExpressFastBootDxe: eliminate deprecated string functions 2016-10-28 16:26:50 +01:00
Include ArmPlatformPkg/FVP: map motherboard VRAM as uncached memory 2017-04-06 21:31:48 +01:00
Library ArmPlatformPkg/PL111LcdArmVExpressLib: use write-combine mapping for VRAM 2017-04-06 21:31:48 +01:00
ArmVExpressPkg.dec ArmPlatformPkg/ArmVExpressPkg: add missing '0x' prefix to hex value 2016-10-19 14:37:58 +01:00