exynos/fimg2d: add g2d_move
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Mon, 30 Nov 2015 03:12:19 +0000 (12:12 +0900)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 18 Dec 2015 17:42:54 +0000 (17:42 +0000)
commit676462c43e97896caa891b1e0aeb27d5d4f13637
tree4ebc62fa3aa07d3b6566d963e2adc71f8d5a7d75
parent51fd93bc38a33df33f7bf6cbf1ae3fbf74a47dba
exynos/fimg2d: add g2d_move

We already have g2d_copy() which implements G2D copy
operations from one buffer to another. However we can't
do a overlapping copy operation in one buffer.

Add g2d_move() which acts like the standard memmove()
and properly handles overlapping copies.

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
exynos/exynos_fimg2d.c
exynos/exynos_fimg2d.h