drm/exynos: hdmi: Use drm_display_mode to set registers
authorSean Paul <seanpaul@chromium.org>
Sat, 11 Aug 2012 02:29:22 +0000 (19:29 -0700)
committerGerrit <chrome-bot@google.com>
Mon, 13 Aug 2012 19:33:29 +0000 (12:33 -0700)
commitae9c327c87f07f1c38001096ece2bb1ae65929d0
treee953662ea81894857a49dafcc4ffe3c2ed87b3eb
parentce7bc41bc8b5280fb9c93bb4bf9ab602b89cf024
drm/exynos: hdmi: Use drm_display_mode to set registers

Program the core and timing generator registers using the timing data
provided in drm_display_mode instead of using hardcoded configurations.
This allows us to support more than just 4 video modes.

Due to lack of definition in the datasheet, this patch removes
interlaced mode support for the timing being.

BUG=chrome-os-partner:11790
TEST=Tested on snow using a Samsung panel

Change-Id: I1d8c27c837a38a4b095993c7f029c5374631995c
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/29956
drivers/gpu/drm/exynos/exynos_hdmi.c