diff options
author | Jon Mayo <jmayo@nvidia.com> | 2011-08-29 18:09:16 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:48:46 -0800 |
commit | a8553a4075782a7e23ca4f923039e413f51d209a (patch) | |
tree | ff73a2c4032c96bb56bc5b7075c308f3a85d3e69 /arch/arm | |
parent | 8ee57f2feac7b0aff12a8de1999dd35963e66124 (diff) |
ARM: tegra: speed up framebuffer copy
Use a memcpy with less overhead in tegra_move_framebuffer, this makes
this function about 30 times faster.
Bug 843089
Original-Change-Id: I4ae9127db6d5ff5d9680e3ff2c3d28463395e39b
Reviewed-on: http://git-master/r/49735
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Kevin Huang <kevinh@nvidia.com>
Rebase-Id: R0906917433643ac4ce9ac97284007527ef2d67df
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-tegra/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c index 462fd7f854d2..7e7a66e710b9 100644 --- a/arch/arm/mach-tegra/common.c +++ b/arch/arm/mach-tegra/common.c @@ -486,7 +486,7 @@ void tegra_move_framebuffer(unsigned long to, unsigned long from, for (i = 0 ; i < size; i += PAGE_SIZE) { page = phys_to_page(from + i); from_virt = kmap(page); - memcpy_toio(to_io + i, from_virt, PAGE_SIZE); + memcpy(to_io + i, from_virt, PAGE_SIZE); kunmap(page); } } else { |