diff options
author | Robert Morell <rmorell@nvidia.com> | 2011-03-03 15:02:53 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:48:12 -0800 |
commit | 384b754c2f3c70c15da177c8b11a0a51f23c76fc (patch) | |
tree | 50765782b4804e87d9bb587479aceff7965bc652 /drivers/video/tegra/dc/hdmi.c | |
parent | 63a79e26218daabc625acf3a21224be2ad6624ed (diff) |
video: tegra: Add control device to dc extension driver
This device exposes control over everything that's not specific to one
of T20's two display controllers. It supports:
- output devices
- event delivery
- hotplug events
bug 818525
Original-Change-Id: I3a46f1dddc483b08ed3ee91a4f9c64111c1fd7eb
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40520
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: R9e49fe41f3327b797ec65c3729f4f94edbb45307
Diffstat (limited to 'drivers/video/tegra/dc/hdmi.c')
-rw-r--r-- | drivers/video/tegra/dc/hdmi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/hdmi.c b/drivers/video/tegra/dc/hdmi.c index 164ecb26b634..bb912d9ff4f0 100644 --- a/drivers/video/tegra/dc/hdmi.c +++ b/drivers/video/tegra/dc/hdmi.c @@ -744,6 +744,9 @@ static bool tegra_dc_hdmi_detect(struct tegra_dc *dc) tegra_fb_update_monspecs(dc->fb, &specs, tegra_dc_hdmi_mode_filter); dev_info(&dc->ndev->dev, "display detected\n"); + + tegra_dc_ext_process_hotplug(dc->ndev->id); + return true; fail: @@ -764,6 +767,8 @@ static void tegra_dc_hdmi_detect_worker(struct work_struct *work) if (!tegra_dc_hdmi_detect(dc)) { tegra_dc_disable(dc); tegra_fb_update_monspecs(dc->fb, NULL, NULL); + + tegra_dc_ext_process_hotplug(dc->ndev->id); } } |