author | Hyungwon Hwang <human.hwang@samsung.com> | |
Wed, 1 Jul 2015 10:09:24 +0000 (19:09 +0900) | ||
committer | Inki Dae <inki.dae@samsung.com> | |
Tue, 11 Aug 2015 08:21:34 +0000 (17:21 +0900) | ||
commit | f2d016011c04fc36580a3efeeee9217fd80298f8 | |
tree | 49c08cde055b4d3045141282cb0852fb610ee79d | tree | snapshot (tar.xz tar.gz zip) |
parent | bdce3e7c729907e303396690b2b23b972c6717be | commit | diff |
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>
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 | diff | blob | history |