summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Huang <kevinh@nvidia.com>2011-08-10 16:09:43 -0700
committerSimone Willett <swillett@nvidia.com>2011-10-13 12:18:15 -0700
commita7d3089a4c2dbf51222c9586b0e708b05efe806b (patch)
tree8e0067636b55d8303f16c87aeda3a2e255f00fc4
parent0e5d439da9c0db4ba56b47791c6a79846f21873e (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 Change-Id: I1dbf275cad2a4bd1692a3a287a4719298413ece9 Reviewed-on: http://git-master/r/46455 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Reviewed-on: http://git-master/r/57354 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
-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 ec522ca65afa..5d51b332494f 100644
--- a/arch/arm/mach-tegra/board-enterprise-panel.c
+++ b/arch/arm/mach-tegra/board-enterprise-panel.c
@@ -547,7 +547,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,