summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJon Mayo <jmayo@nvidia.com>2011-08-29 18:09:16 -0700
committerRohan Somvanshi <rsomvanshi@nvidia.com>2011-08-30 04:33:19 -0700
commit0f9cf9b586cc064deb8057bb1427583c49162ccb (patch)
tree96db24611c6f6b56b7d8b2751e98d454c395e4e7 /arch
parent1754b42ae587faea2d3198586fbb21134b2ef7d4 (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 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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c
index 43f861883622..45ed7344e996 100644
--- a/arch/arm/mach-tegra/common.c
+++ b/arch/arm/mach-tegra/common.c
@@ -608,7 +608,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 {