drm/omap: fix YUV422 90/270 rotation with mirroring
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 16 May 2017 12:25:45 +0000 (15:25 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Jun 2017 08:09:33 +0000 (11:09 +0300)
commit2add8d1310eb5b1094e02a7261b6e35df5e65bf3
treee608834e38e325f79e697b4908fb99cfea055ebb
parentc4df6e4277503f0d05e261c3cae0c282fdca4437
drm/omap: fix YUV422 90/270 rotation with mirroring

When rotating 90/270 + mirroring with YUV422, the end result will have
adjacent pixels swapped. The problem is that
dispc_ovl_set_rotation_attrs() has wrong rotation values for these
cases.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/dss/dispc.c