diff options
author | David Dastous <ddastoussthi@nvidia.com> | 2014-07-25 12:47:01 -0700 |
---|---|---|
committer | Manish Tuteja <mtuteja@nvidia.com> | 2014-07-26 22:51:00 -0700 |
commit | 16971c4be6bbf07ded3c7d35e60e0ffaf7fccef5 (patch) | |
tree | ea51966a659f2e4cd513863c3de9fe07dce1f2e1 | |
parent | 702870feba175554099e181419e871cace19be27 (diff) |
arm:tegra:thor: Set dc to stop on hdmi close
HDMI needs to set DC to stop when closing, otherwise there is a flicker
upon shutdown
Bug 1448296
Change-Id: I93d14517e2b2ec77b0a6730a5c40930cd71f4327
Signed-off-by: David Dastous <ddastoussthi@nvidia.com>
Reviewed-on: http://git-master/r/447733
Tested-by: Anshuman Kar <anshumank@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
-rw-r--r-- | drivers/video/tegra/dc/hdmi.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/hdmi.c b/drivers/video/tegra/dc/hdmi.c index c412506e9d64..5b6e93da7bfb 100644 --- a/drivers/video/tegra/dc/hdmi.c +++ b/drivers/video/tegra/dc/hdmi.c @@ -2043,6 +2043,13 @@ static void tegra_dc_hdmi_disable(struct tegra_dc *dc) { struct tegra_dc_hdmi_data *hdmi = tegra_dc_get_outdata(dc); + /* + * set DC to STOP mode + */ + tegra_dc_writel(dc, DISP_CTRL_MODE_STOP, DC_CMD_DISPLAY_COMMAND); + tegra_dc_writel(dc, GENERAL_UPDATE, DC_CMD_STATE_CONTROL); + tegra_dc_writel(dc, GENERAL_ACT_REQ, DC_CMD_STATE_CONTROL); + tegra_nvhdcp_set_plug(hdmi->nvhdcp, 0); #if !defined(CONFIG_ARCH_TEGRA_2x_SOC) |