aboutsummaryrefslogtreecommitdiffstats
path: root/exynos
diff options
context:
space:
mode:
authorTobias Jakobi2014-06-01 11:04:04 -0500
committerRob Clark2014-06-20 14:53:01 -0500
commit63f51fc4d34814c80d452e03814b5b495548987b (patch)
treeaeb89ed6d76837a45ad44c572251a86489297efe /exynos
parent4fddc92e04f5326d78b1bb0252e2f64725e96edb (diff)
downloadexternal-libdrm-63f51fc4d34814c80d452e03814b5b495548987b.tar.gz
external-libdrm-63f51fc4d34814c80d452e03814b5b495548987b.tar.xz
external-libdrm-63f51fc4d34814c80d452e03814b5b495548987b.zip
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,
382 g2d_add_cmd(ctx, DST_LEFT_TOP_REG, pt.val); 382 g2d_add_cmd(ctx, DST_LEFT_TOP_REG, pt.val);
383 pt.val = 0; 383 pt.val = 0;
384 pt.data.x = dst_x + w; 384 pt.data.x = dst_x + w;
385 pt.data.y = dst_x + h; 385 pt.data.y = dst_y + h;
386 g2d_add_cmd(ctx, DST_RIGHT_BOTTOM_REG, pt.val); 386 g2d_add_cmd(ctx, DST_RIGHT_BOTTOM_REG, pt.val);
387 387
388 rop4.val = 0; 388 rop4.val = 0;