drm/exynos: gsc: fix wrong bitwise operation for swap detection 47/42547/4
authorHyungwon Hwang <human.hwang@samsung.com>
Mon, 29 Jun 2015 11:42:17 +0000 (20:42 +0900)
committerhyungwon hwang <human.hwang@samsung.com>
Tue, 30 Jun 2015 06:18:13 +0000 (23:18 -0700)
commit2899ffbf83e7b44c53b9a8fcb16ae690557abeef
treeac061f1907245a5109aa355e078efa367d3d1b1a
parentfaf08eb5c2edee636b13372b25fbe3fdb8fe84c7
drm/exynos: gsc: fix wrong bitwise operation for swap detection

The bits for rotation are not used as exclusively. So GSC_IN_ROT_270 can
not be used for swap detection. The definition of it is same with
GSC_IN_ROT_MASK. It is enough to check GSC_IN_ROT_90 bit is set or not to
check whether width / height size swapping is needed.

Change-Id: I69a98c170b4d31ee68dfd816dfecfd6045d84a44
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gsc.c