From 63f51fc4d34814c80d452e03814b5b495548987b Mon Sep 17 00:00:00 2001 From: Tobias Jakobi Date: Sun, 1 Jun 2014 18:04:04 +0200 Subject: exynos: fix coordinate computation in g2d_copy The right-bottom register isn't set correctly. Looks like a copy-and-paste error. Signed-off-by: Tobias Jakobi Signed-off-by: Inki Dae --- exynos/exynos_fimg2d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exynos/exynos_fimg2d.c') diff --git a/exynos/exynos_fimg2d.c b/exynos/exynos_fimg2d.c index 0b14618e..a5659101 100644 --- a/exynos/exynos_fimg2d.c +++ b/exynos/exynos_fimg2d.c @@ -382,7 +382,7 @@ int g2d_copy(struct g2d_context *ctx, struct g2d_image *src, g2d_add_cmd(ctx, DST_LEFT_TOP_REG, pt.val); pt.val = 0; pt.data.x = dst_x + w; - pt.data.y = dst_x + h; + pt.data.y = dst_y + h; g2d_add_cmd(ctx, DST_RIGHT_BOTTOM_REG, pt.val); rop4.val = 0; -- cgit v1.2.3