diff options
author | Lajos Molnar <molnar@ti.com> | 2011-04-07 08:41:43 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-04-07 08:41:43 +0100 |
commit | 7e7a3dea7e01e89884366006cb61890085f42816 (patch) | |
tree | 3b5d1818c309fc5d302c7a66b661c51d75ce0087 /drivers/media/video/tiler | |
parent | 966f30624562482b1660ab4242d8e106ce23e194 (diff) |
TILER: fix tilview_rotate that returns invalid address
TILER container was rotated opposite from the top-left corner's
rotation. This resulted in an incorrect view. This is now fixed.
Signed-off-by: Lajos Molnar <molnar@ti.com>
Signed-off-by: David Sin <davidsin@ti.com>
Diffstat (limited to 'drivers/media/video/tiler')
-rw-r--r-- | drivers/media/video/tiler/tiler-geom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tiler/tiler-geom.c b/drivers/media/video/tiler/tiler-geom.c index a988a635c0c..3c92a1b2d37 100644 --- a/drivers/media/video/tiler/tiler-geom.c +++ b/drivers/media/video/tiler/tiler-geom.c @@ -275,7 +275,7 @@ s32 tilview_rotate(struct tiler_view_t *view, s32 rotation) /* rotate last quarter */ if (rotation & 1) { orient ^= (orient & MASK_XY_FLIP) ? - MASK_Y_INVERT : MASK_X_INVERT; + MASK_X_INVERT : MASK_Y_INVERT; /* swap x & y */ orient ^= MASK_XY_FLIP; |