summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarkus Hiienkari <mhiienkari@nvidia.com>2012-10-19 17:00:20 +0300
committerMandar Padmawar <mpadmawar@nvidia.com>2013-12-16 01:45:41 -0800
commitf0c18d2bbb6eb8a9359364b05a2f0fdbc4bcbb19 (patch)
treea5581b73c052f301b5711d0cc89d6bcadc3ce942 /arch
parentb213ac70e1401be27ead44fc3f49b1edc8e5748e (diff)
tegra: dc: enable CMU for secondary display.
Enable CMU for secondary display as default. If DC type is HDMI, use sRGB-to-sRGB (limited range) conversion configuration. Bug 1162082 Bug 1162069 Bug 1407045 Change-Id: Ibb75ae0522fcf3aca6cffd3cfd747dfe5c6038bd Signed-off-by: Markus Hiienkari <mhiienkari@nvidia.com> Reviewed-on: http://git-master/r/337981 Reviewed-by: Thomas J. Meier <tmeier@nvidia.com> Reviewed-by: Xuezhou Ma <xuezhoum@nvidia.com> Reviewed-by: David Dastous St Hilaire <ddastoussthi@nvidia.com> Tested-by: David Dastous St Hilaire <ddastoussthi@nvidia.com> Reviewed-by: Michael I Gold <gold@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/board-dalmore-panel.c3
-rw-r--r--arch/arm/mach-tegra/board-pluto-panel.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-dalmore-panel.c b/arch/arm/mach-tegra/board-dalmore-panel.c
index 95be8eaac945..5ca03aac2e6e 100644
--- a/arch/arm/mach-tegra/board-dalmore-panel.c
+++ b/arch/arm/mach-tegra/board-dalmore-panel.c
@@ -267,6 +267,9 @@ static struct tegra_dc_platform_data dalmore_disp2_pdata = {
.default_out = &dalmore_disp2_out,
.fb = &dalmore_disp2_fb_data,
.emc_clk_rate = 300000000,
+#ifdef CONFIG_TEGRA_DC_CMU
+ .cmu_enable = 1,
+#endif
};
static struct platform_device dalmore_disp2_device = {
diff --git a/arch/arm/mach-tegra/board-pluto-panel.c b/arch/arm/mach-tegra/board-pluto-panel.c
index af40a674f0e5..94f61ee5c8b5 100644
--- a/arch/arm/mach-tegra/board-pluto-panel.c
+++ b/arch/arm/mach-tegra/board-pluto-panel.c
@@ -219,6 +219,9 @@ static struct tegra_dc_platform_data pluto_disp2_pdata = {
.default_out = &pluto_disp2_out,
.fb = &pluto_disp2_fb_data,
.emc_clk_rate = 300000000,
+#ifdef CONFIG_TEGRA_DC_CMU
+ .cmu_enable = 1,
+#endif
};
static struct platform_device pluto_disp2_device = {