tegra: fb: Notify fbcon DC is unavailable
authorPankaj Dabade <pdabade@nvidia.com>
Fri, 5 Sep 2014 10:55:59 +0000 (15:55 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Mon, 8 Sep 2014 18:27:51 +0000 (11:27 -0700)
commitad3b5e072755fcc0b7fcefa212079e1be475cd1b
treec00add407a1c50325565050f2d5c5f42c06506ef
parent4f13e42a49a8809949e4654c27a2d8d0c109b537
tegra: fb: Notify fbcon DC is unavailable

In the absence of hotplug, monitor data and mode database is removed
and DC is switched off. However, fbcon is unaware.
This patch adds the change to fb_info state to suspend while updating
monitor specs. This state will denote that the hardware is unavailable.
Info will be restored to state running once modelist is available.

Bug 200031817

Change-Id: I0d4a51fdaa383d9201ab299d602fb3cc9ed93f52
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/496027
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
drivers/video/tegra/fb.c