diff options
author | Ken Chang <kenc@nvidia.com> | 2012-05-15 11:20:52 +0800 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-06-25 17:34:32 -0700 |
commit | cd17fa91e37f8b867ab1ae2759bda03e950fdf83 (patch) | |
tree | 19995faa57dc625de461ac02aa3b4de1bce617fa /drivers/video/tegra | |
parent | 44bd2bfc4b75d5edf7edc2d81ca30272c7100a02 (diff) |
video: tegra: dc: Support for pre power-off actions
Part of panel settings need to be done before/after pixel clock
is disabled. Add support for these actions to meet panel
spec.
bug 976081
Signed-off-by: Ken Chang <kenc@nvidia.com>
Reviewed-on: http://git-master/r/102542
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>
(cherry picked from commit dcecdc64d4d0fd4d9f69df52c9d200dfbf1dd7fc)
Change-Id: Ibfede68d67a4815156f73c2d1cdca90f3f771755
Reviewed-on: http://git-master/r/110296
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'drivers/video/tegra')
-rw-r--r-- | drivers/video/tegra/dc/dc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c index 664e17a87b1a..834637db0f3a 100644 --- a/drivers/video/tegra/dc/dc.c +++ b/drivers/video/tegra/dc/dc.c @@ -2456,6 +2456,9 @@ static void _tegra_dc_controller_disable(struct tegra_dc *dc) { unsigned i; + if (dc->out && dc->out->prepoweroff) + dc->out->prepoweroff(); + if (dc->out_ops && dc->out_ops->disable) dc->out_ops->disable(dc); |