]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos/mixer: fix mode validation code
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 29 Sep 2017 10:05:35 +0000 (12:05 +0200)
committerInki Dae <inki.dae@samsung.com>
Thu, 26 Oct 2017 00:06:32 +0000 (09:06 +0900)
commit56f43f885d1954b88f4288016d2ec01ea7155330
tree452611f6c4f7c99fac0b32381e77218b3a5e8970
parent118c016a2f70739e71ea15e04ccf1b6248427db8
drm/exynos/mixer: fix mode validation code

Mode limitation checked in mixer driver affects only older HW.
Mixer in Exynos542x has no such limitations. While at it patch changes
validation callback to recently introduced mode_valid which is more
suitable for the check. Additionally little cleanup is performed.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c