summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/panel-s-wqxga-10-1.c
diff options
context:
space:
mode:
authorAnimesh Kishore <ankishore@nvidia.com>2013-10-24 17:33:11 +0530
committerAnimesh Kishore <ankishore@nvidia.com>2013-10-25 01:14:08 -0700
commite3e8b894e95a8432efb35ccd058a1466969884c7 (patch)
tree1618911082014d4745b8cf7432dcc05d6b8cc079 /arch/arm/mach-tegra/panel-s-wqxga-10-1.c
parent98cde35dc30f9b00c79fac7b20f13fa7da869008 (diff)
arm: tegra: ardbeg: Reduce sharp 25x16 vblank
Reduces pll frequency and dvfs request. Bug 1370966 Change-Id: Iee4063e4d9d998a902a423eec2e1c841e965e759 Signed-off-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-on: http://git-master/r/303332 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/panel-s-wqxga-10-1.c')
-rw-r--r--arch/arm/mach-tegra/panel-s-wqxga-10-1.c31
1 files changed, 24 insertions, 7 deletions
diff --git a/arch/arm/mach-tegra/panel-s-wqxga-10-1.c b/arch/arm/mach-tegra/panel-s-wqxga-10-1.c
index 6cf89951b8a1..7b8b0877f56f 100644
--- a/arch/arm/mach-tegra/panel-s-wqxga-10-1.c
+++ b/arch/arm/mach-tegra/panel-s-wqxga-10-1.c
@@ -159,7 +159,7 @@ static struct tegra_dsi_out dsi_s_wqxga_10_1_pdata = {
.video_data_type = TEGRA_DSI_VIDEO_TYPE_COMMAND_MODE,
.ganged_type = TEGRA_DSI_GANGED_SYMMETRIC_LEFT_RIGHT,
.suspend_aggr = DSI_HOST_SUSPEND_LV2,
- .refresh_rate = 62,
+ .refresh_rate = 61,
.rated_refresh_rate = 60,
.te_polarity_low = true,
#else
@@ -423,10 +423,30 @@ static int dsi_s_wqxga_10_1_postsuspend(void)
static struct tegra_dc_mode dsi_s_wqxga_10_1_modes[] = {
{
#if DC_CTRL_MODE & TEGRA_DC_OUT_ONE_SHOT_MODE
- .pclk = 306156000, /* @62Hz */
+ .pclk = 294264000, /* @61Hz */
+ .h_ref_to_sync = 0,
+
+ /* dc constraint, min 1 */
+ .v_ref_to_sync = 1,
+
+ .h_sync_width = 32,
+
+ /* dc constraint, min 1 */
+ .v_sync_width = 1,
+
+ .h_back_porch = 80,
+
+ /* panel constraint, send frame after TE deassert */
+ .v_back_porch = 5,
+
+ .h_active = 2560,
+ .v_active = 1600,
+ .h_front_porch = 328,
+
+ /* dc constraint, min v_ref_to_sync + 1 */
+ .v_front_porch = 2,
#else
.pclk = 268627200, /* @60Hz */
-#endif
.h_ref_to_sync = 4,
.v_ref_to_sync = 1,
.h_sync_width = 32,
@@ -435,12 +455,9 @@ static struct tegra_dc_mode dsi_s_wqxga_10_1_modes[] = {
.v_back_porch = 37,
.h_active = 2560,
.v_active = 1600,
-#if DC_CTRL_MODE & TEGRA_DC_OUT_ONE_SHOT_MODE
- .h_front_porch = 328,
-#else
.h_front_porch = 48,
-#endif
.v_front_porch = 3,
+#endif
},
};