drm/exynos: rotator: Fix DRM_MODE_REFLECT_{X,Y} interpretation
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 7 Jun 2018 11:06:07 +0000 (13:06 +0200)
committerInki Dae <inki.dae@samsung.com>
Fri, 29 Jun 2018 09:02:55 +0000 (18:02 +0900)
commit1b0966c3e951da6ae523c4e954b1f43b22927948
treedd933551dccda9606b507d9fbc3b00331942cf24
parent69705ad21029b6e92c9facb0eb12cde1a4fd52b7
drm/exynos: rotator: Fix DRM_MODE_REFLECT_{X,Y} interpretation

Horizontal (DRM_MODE_REFLECT_Y) and vertical (DMR_MODE_REFLECT_Y) flip
were swapped in Rotator driver. Fix this by swapping code for interpreting
them.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_rotator.c