drm/exynos/mixer: move mode commit to enable callback
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 29 Sep 2017 10:05:33 +0000 (12:05 +0200)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:56:04 +0000 (14:56 +0900)
commitab8f1f4ef0706a48be0b8320952a47db93b91fbc
treeb6c51efbabd54c04055e62168ac2a86d593766fb
parentcb29e2f7d49e1e051651d3759ed42bb789b23481
drm/exynos/mixer: move mode commit to enable callback

Mode commit should not be called for every plane separately. It is enough
to call it once in enable callback. The change also requires that
the interlace check is moved to mixer_commit. It should be done in
the same patch to avoid regression.

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