summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-enterprise-panel.c
diff options
context:
space:
mode:
authorKevin Huang <kevinh@nvidia.com>2011-08-10 16:09:43 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:49:42 -0800
commit6e76f72b61da94abe95658227969564df29a0a39 (patch)
treefddccc853768512dff611e4bdfa2179242976fd4 /arch/arm/mach-tegra/board-enterprise-panel.c
parent9367c943457ca10e1e90a9df7f8e8da0d23ef810 (diff)
ARM: tegra: enterprise: Increase refresh rate to catch up TE signal.
DSI clock rate is calculated according to the refresh rate 60Hz. However, the real TE signal can be more or less than 60Hz. Increase refresh rate to avoid missing TE signal. Bug 878230 Reviewed-on: http://git-master/r/46455 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com> (cherry picked from commit c2081d32e93793bc5b16950a752367d31ab2d3d7) Change-Id: I12d6e5cd363523bacd148eef72e22ba609ff1e83 Reviewed-on: http://git-master/r/61609 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rd9269b73fa432b176c609b872015dff81c3c51d0
Diffstat (limited to 'arch/arm/mach-tegra/board-enterprise-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-enterprise-panel.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-panel.c b/arch/arm/mach-tegra/board-enterprise-panel.c
index 825e69f74215..6628751699ac 100644
--- a/arch/arm/mach-tegra/board-enterprise-panel.c
+++ b/arch/arm/mach-tegra/board-enterprise-panel.c
@@ -545,7 +545,15 @@ static struct tegra_dsi_cmd dsi_suspend_cmd[] = {
struct tegra_dsi_out enterprise_dsi = {
.n_data_lanes = 2,
.pixel_format = TEGRA_DSI_PIXEL_FORMAT_24BIT_P,
+#if(DC_CTRL_MODE & TEGRA_DC_OUT_ONE_SHOT_MODE)
+ /* For one-shot mode, mismatch between freq of DC and TE signal
+ * may cause frame drop. We increase refreash rate a little bit
+ * more than target value to avoid missing TE signal.
+ */
+ .refresh_rate = 66,
+#else
.refresh_rate = 60,
+#endif
.virtual_channel = TEGRA_DSI_VIRTUAL_CHANNEL_0,
.panel_has_frame_buffer = true,