drm/exynos/hdmi: quirk for support mode timings conversion
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 29 Sep 2017 10:05:40 +0000 (12:05 +0200)
committerInki Dae <inki.dae@samsung.com>
Thu, 26 Oct 2017 00:06:33 +0000 (09:06 +0900)
commit36fd887acbd1ce349eba8283d9e8a9d7932a24ca
tree7be233ed99d03cdff27ff6763d1a1cd5a0999ca5
parentacc8bf040c39499139e6d26e72c642d42ffa5016
drm/exynos/hdmi: quirk for support mode timings conversion

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 do it
adjusted_mode should contain actual mode set on crtc.
With this patch it is possible to enable 1024x768 and 1280x1024
modes in MIXER.

Suggested-by: Daniel Drake <drake@endlessm.com>
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_hdmi.c