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)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:56:06 +0000 (14:56 +0900)
commit6f320211cae213b38ceb25148b2de83abd70355a
tree99e329cd7e9678b0a91f5261a694066558eb1bcc
parent93d69d63dc13407c9ae79fffff73e44245da9030
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