]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos/mixer: pass actual mode on MIXER to encoder
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 29 Sep 2017 10:05:39 +0000 (12:05 +0200)
committerInki Dae <inki.dae@samsung.com>
Thu, 26 Oct 2017 00:06:33 +0000 (09:06 +0900)
commit51b2e739bbc445bf56fb05ead64b133e65edc8a0
tree605fb86aa6c497e42cf3c3ab92c36281e2d0aad6
parent591d946d1eae1ee96f49700618a8a98bd9b8a9ff
drm/exynos/mixer: pass actual mode on MIXER to encoder

MIXER in SoCs prior to Exynos5420 supports only 4 video modes:
720x480, 720x576, 1280x720, 1920x1080. Support for other modes can be
enabled by manipulating timings of HDMI. To allow it MIXER must pass
actual video mode to HDMI, the proper way to do it is to modify
adjusted_mode property in crtc::mode_fixup callback. Adding such callback
allows also to simplify mixer_cfg_scan code - choosing mode is performed
already in crtc::mode_fixup. mode_fixup is also better place to check
interlace flag.

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