]> git.baikalelectronics.ru Git - kernel.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)
commiteb39546ff2c2cf4d711580b7e7013ac7ad623a89
tree79237ff82c7087a9bd484b223ff9d9b8df4ee8c4
parentd8a77a6d0a6e658587aa7c5ad249dd4245beaa11
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