video: tegra: Add connected prop to hotplug event
authorIvan Raul Guadarrama <iguadarrama@nvidia.com>
Fri, 3 Jul 2015 18:42:17 +0000 (21:42 +0300)
committerVenkat Moganty <vmoganty@nvidia.com>
Mon, 20 Jul 2015 16:32:23 +0000 (09:32 -0700)
commit9e7f80cd7a65d81471a5fdd73572c58009826c68
tree9fa74dccf7e01e719504ddbda4d8723431d49eee
parent689f4ad26109b1f9d8d652fbe5d4d2bc5a7d6781
video: tegra: Add connected prop to hotplug event

Modify the tegra_dc_ext_control_event_hotplug struct to include
a connected property, which enables sending the type of hotplug
event synchronously. This obviates the need to query the output
properties later through an ioctl, preventing the possibility
of the event type getting out of sync.

Bug 200110896

Change-Id: Id82730bc32315b008cdbe317edac91c61d41cc75
Signed-off-by: Ivan Raul Guadarrama <iguadarrama@nvidia.com>
Reviewed-on: http://git-master/r/766337
(cherry picked from commit a2b8259e05e37237a80f5246c2a960e70c7e6545)
Reviewed-on: http://git-master/r/769379
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Tested-by: Venkat Moganty <vmoganty@nvidia.com>
arch/arm/mach-tegra/include/mach/tegra_dc_ext.h
drivers/video/tegra/dc/dc.c
drivers/video/tegra/dc/ext/control.c
drivers/video/tegra/dc/ext/events.c
drivers/video/tegra/dc/ext/tegra_dc_ext_priv.h
drivers/video/tegra/dc/hdmi2.0.c
drivers/video/tegra/dc/hdmi_state_machine.c
drivers/video/tegra/dc/hpd.c
include/video/tegra_dc_ext.h