]> git.karo-electronics.de Git - linux-beck.git/commit
drm/exynos: gsc: fix wrong bitwise operation for swap detection
authorHyungwon Hwang <human.hwang@samsung.com>
Wed, 1 Jul 2015 10:09:24 +0000 (19:09 +0900)
committerInki Dae <inki.dae@samsung.com>
Sun, 16 Aug 2015 01:23:29 +0000 (10:23 +0900)
commit988a47311952db42b3bf84be0dd515ca7d86aaa3
tree79237ff82c7087a9bd484b223ff9d9b8df4ee8c4
parent8f9cb50789e76f3e224e8861adf650e55c747af4
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.

Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gsc.c