video: tegra: dc: Make framebuffer console init OK
authorMark Zhang <markz@nvidia.com>
Fri, 17 Aug 2012 05:31:37 +0000 (13:31 +0800)
committerSimone Willett <swillett@nvidia.com>
Thu, 23 Aug 2012 21:44:15 +0000 (14:44 -0700)
commit13694b6bf1dc4572752e13d42f278aa9b624f043
tree6ffa0e3946ed8e5a876950c7ed061a37ab4a34a1
parent2e189ac325c9347cbb2411b00154a5dab254cec3
video: tegra: dc: Make framebuffer console init OK

Update framebuffer's modelist after we changed it's fb_var_screeninfo.
This makes sure the framebuffer console can be inited successfully.
During framebuffer console init, it'll check whether the var info of
the framebuffer is consistent with the modelist.
Unsuccessful init of framebuffer console driver makes VT driver
doesn't work in right way.

Bug 996992

Signed-off-by: Mark Zhang <markz@nvidia.com>
Change-Id: I96a1db1f389be75dcba48b20447cf1510ad3768b
Reviewed-on: http://git-master/r/107866
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shashank Sharma <shashanks@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
drivers/video/tegra/fb.c