OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdfb869
)
drm/tegra: Add support for panel prepare and unprepare routines
author
Ajay Kumar
<ajaykumar.rs@samsung.com>
Thu, 31 Jul 2014 17:42:07 +0000
(23:12 +0530)
committer
Thierry Reding
<treding@nvidia.com>
Wed, 6 Aug 2014 14:44:12 +0000
(16:44 +0200)
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>
drivers/gpu/drm/tegra/output.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tegra/output.c
b/drivers/gpu/drm/tegra/output.c
index
a3e4f1e
..
9609bc3
100644
(file)
--- 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);
}