video: tegra: dc: Set default videomode
authorShashank Sharma <shashanks@nvidia.com>
Mon, 30 Apr 2012 12:06:24 +0000 (17:06 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Tue, 8 May 2012 12:33:45 +0000 (05:33 -0700)
commitdfd813141283891e397d73958aabad38eddfe350
tree146941ef003ab21a057cfa71e363501b0021fdbd
parente0ce2e5ff81e3825b89babadd784baba96166949
video: tegra: dc: Set default videomode

Set default videomode during the dc probe. This patch enables
HDMI during the probe only and fixes following issues:
1. Until Xinit there was no display on HDMI.
2. Framebuffer console on HDMI needs it to be enabled well before
   Xinit.
To avoide un-necessary powering on HDMI,Check HPD and enable HDMI
only if it's present.

Bug: 930136
Bug: 977705
Change-Id: Ifb71328e5df0ccbb5751669db71fd24719fe3738
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/100656
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
arch/arm/mach-tegra/board-cardhu-panel.c
arch/arm/mach-tegra/include/mach/dc.h
drivers/video/tegra/dc/dc.c
drivers/video/tegra/dc/hdmi.c