drm/exynos: hdmi: move mode_fixup to drm common hdmi
commit7ddcc7364a93d18b80967b3a9b3f6aea107323f6
authorRahul Sharma <rahul.sharma@samsung.com>
Wed, 6 Mar 2013 08:28:16 +0000 (6 17:28 +0900)
committerInki Dae <daeinki@gmail.com>
Tue, 16 Apr 2013 15:06:42 +0000 (17 00:06 +0900)
tree0b4e7f21efd604b335a33799439c261d98d694e2
parent6b986edfbce195b4111f96a43221fc6d387277ba
drm/exynos: hdmi: move mode_fixup to drm common hdmi

Currently, mode_fixup code doesn't consider the limitations of mixer as it
is implemented inside the hdmi driver. Following fix, moves the mode_fixup
to common drm hdmi driver. To check the mode support, it calls both, mixer
and hdmi check_timing callbacks for a given resolution mode.

This patch is dependent on https://patchwork.kernel.org/patch/2176021/.

Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_hdmi.c
drivers/gpu/drm/exynos/exynos_drm_hdmi.h
drivers/gpu/drm/exynos/exynos_hdmi.c