summaryrefslogtreecommitdiffstats
path: root/PcAtChipsetPkg
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-04-06 12:59:38 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2017-04-06 21:31:48 +0100
commit14fa71247c49f79dd8b545265f110eb9f47f899f (patch)
treed0c496f3f42bd5e652f5019629741c49653be9b0 /PcAtChipsetPkg
parent1fe11382db9b2c5acf5d0a131c7049ce42992d30 (diff)
downloadedk2-14fa71247c49f79dd8b545265f110eb9f47f899f.tar.gz
edk2-14fa71247c49f79dd8b545265f110eb9f47f899f.tar.bz2
edk2-14fa71247c49f79dd8b545265f110eb9f47f899f.zip
ArmPlatformPkg/HdLcdArmVExpressLib: 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>
Diffstat (limited to 'PcAtChipsetPkg')
0 files changed, 0 insertions, 0 deletions