drm/exynos: Add 1024x768/1280x800 HDMI resolutions
authorSean Paul <seanpaul@chromium.org>
Mon, 22 Apr 2013 17:00:11 +0000 (13:00 -0400)
committerChromeBot <chrome-bot@google.com>
Wed, 24 Apr 2013 19:05:11 +0000 (12:05 -0700)
commit3a793643963fb613533e7b23fd9ca754f109aa10
tree2d32321bba16c6e893384667e180113657d3e323
parente4a7a4146bb714924194df629acfde034f8574c2
drm/exynos: Add 1024x768/1280x800 HDMI resolutions

This patch adds 1024x768 and 1280x800 HDMI resolutions by redistributing
vertical lines to the blanking period from the active area. The result
is that userspace is exposed resolutions which fit into the mixer's
scanning guidelines (720 lines), and the monitor thinks it's getting the
full monty. For example, 1024x768 looks like 1024x720 from userspace's
perspective, but 1024x768 from the monitor's perspective.

BUG=chromium:221411, chrome-os-partner:14238
TEST=Tested by hand with 1024x768

Change-Id: I6dcfe6260504e38aa604c5b19abc2bd716bbf729
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/48830
Reviewed-by: Mark Hayter <mdhayter@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
drivers/gpu/drm/exynos/exynos_drm_connector.c
drivers/gpu/drm/exynos/exynos_drm_display.h
drivers/gpu/drm/exynos/exynos_hdmi.c
drivers/gpu/drm/exynos/exynos_mixer.c