summaryrefslogtreecommitdiff
path: root/exynos
diff options
context:
space:
mode:
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>2014-06-01 18:04:04 +0200
committerRob Clark <robclark@freedesktop.org>2014-06-20 15:53:01 -0400
commit63f51fc4d34814c80d452e03814b5b495548987b (patch)
treeaeb89ed6d76837a45ad44c572251a86489297efe /exynos
parent4fddc92e04f5326d78b1bb0252e2f64725e96edb (diff)
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 <tjakobi@math.uni-bielefeld.de> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'exynos')
-rw-r--r--exynos/exynos_fimg2d.c2
1 files changed, 1 insertions, 1 deletions
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;