diff options
author | Ajay Kumar <ajaykumar.rs@samsung.com> | 2014-07-31 23:12:07 +0530 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-08-06 16:44:12 +0200 |
commit | 0407ed8afe0cada72b0c28fd35c821fe3b235593 (patch) | |
tree | 99c1808c2f734451436127de7d9e736e68e72de2 | |
parent | cdfb8694dc107c3b004b67dfbb392ae62d358e77 (diff) | |
download | linux-0407ed8afe0cada72b0c28fd35c821fe3b235593.tar.gz linux-0407ed8afe0cada72b0c28fd35c821fe3b235593.tar.bz2 linux-0407ed8afe0cada72b0c28fd35c821fe3b235593.zip |
drm/tegra: Add support for panel prepare and unprepare routines
Modify tegra output driver to support the new panel calls:
prepare and unprepare.
Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | drivers/gpu/drm/tegra/output.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/output.c b/drivers/gpu/drm/tegra/output.c index a3e4f1eca6f7..9609bc3e2443 100644 --- a/drivers/gpu/drm/tegra/output.c +++ b/drivers/gpu/drm/tegra/output.c @@ -140,7 +140,9 @@ static void tegra_encoder_dpms(struct drm_encoder *encoder, int mode) if (mode != DRM_MODE_DPMS_ON) { drm_panel_disable(panel); tegra_output_disable(output); + drm_panel_unprepare(panel); } else { + drm_panel_prepare(panel); tegra_output_enable(output); drm_panel_enable(panel); } |