video: tegra: dc: get default mode from EDID
authorJong Kim <jongk@nvidia.com>
Tue, 8 Apr 2014 17:39:16 +0000 (10:39 -0700)
committerWinnie Hsu <whsu@nvidia.com>
Fri, 11 Apr 2014 18:19:14 +0000 (11:19 -0700)
commit151ac024bc3d27bee424aa33725988e8bf18375d
treecec1b6a9f45596b81f380c2ab4e025ffa4687a0f
parent33b337a2a2a33f2276d51e80462b54dcb900ee98
video: tegra: dc: get default mode from EDID

Override hard-coded default HDMI mode with the preferred mode
obtained from EDID read. Since the preferred mode is obtained
dynamically from EDID, the default hard-coded HDMI mode is set
to 640x480 @60Hz, which is universally supported.

bug 1495496

Change-Id: I19bc910758015927938fe5dde3e5359a78d905d4
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/393564
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Winnie Hsu <whsu@nvidia.com>
arch/arm/mach-tegra/board-ardbeg-panel.c
drivers/video/tegra/dc/dc.c