video: tegra: Check DC connected status
authorPankaj Dabade <pdabade@nvidia.com>
Tue, 25 Mar 2014 11:34:58 +0000 (16:34 +0530)
committerMatthew Pedro <mapedro@nvidia.com>
Fri, 4 Apr 2014 22:07:22 +0000 (15:07 -0700)
commit45788437a0172066ad6c70de24be06390a04ad68
tree5078981de9e700f4b219b444e175a150cceedd35
parentab41190726bc53f7cfeb1af4f24719a64cec6240
video: tegra: Check DC connected status

1. Prevent any operations from user-space and tty when no HDMI
device is connected. DC will stay powergated till hotplugged.
2. Virtual Terminal requests blank after blank timeout. If HDMI
isn't connected we shouldn't allow this operation.

bug 1487112
bug 1481748

Change-Id: I0bd97e62ca059513044bc49b8d8c045610268016
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/391152
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
drivers/video/tegra/dc/dc.c
drivers/video/tegra/fb.c