video: tegra: fb: Configure dc from fb
authorShashank Sharma <shashanks@nvidia.com>
Fri, 3 Aug 2012 15:20:41 +0000 (20:20 +0530)
committerMatthew Pedro <mapedro@nvidia.com>
Tue, 7 Aug 2012 17:22:04 +0000 (10:22 -0700)
commitec7552ef36c0d0979cb31db6d2d4bd54e7f1c9fb
treed76334925f57d4b93b5378c0e0a484577559b308
parentabb6a85f077757e5d30f9507406fc533ea4954ee
video: tegra: fb: Configure dc from fb

This patch contains following changes:
1. Modify tegra_fb_update_monspecs to select best mode to apply
   on framebuffer, in HDMI hotplug.
2. Add a console_lock to prevent corruption while fbcon running
   in multiple threads.
3. Add a tegra_dc_disable/enable in tegra_fb_set_par to reflect
   the programmed new mode applied on DC.

Bug: 1005399
Change-Id: I133b38b00f25f767afc05549550fecde8d092fb2
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/120932
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
drivers/video/tegra/fb.c