summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngrid Gallardo <ingridg@codeaurora.org>2017-01-16 18:56:45 -0800
committerIngrid Gallardo <ingridg@codeaurora.org>2017-01-17 12:10:48 -0800
commitd36e062e8edcda47e6958af097f081019feb1e92 (patch)
tree903ce8eaeb68be255e7e9e11e96d2af3bfea3d74
parent6998daf8c5fbfa58f8fc9e33407cafeb39de714e (diff)
msm: mdss: fix tearcheck when enter low power mode
During transition from ultra low power mode to low power mode, tear check is not reconfigured, which can cause problems during the doze mode use case. Fix this problem by making sure that tearcheck gets reconfigured. Change-Id: I5dc0dd78d98c768ef70c795ac974bb4574c55a0f Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
-rw-r--r--drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c b/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c
index 4852fc73f040..f68ce80a7772 100644
--- a/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c
+++ b/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -3231,6 +3231,8 @@ int mdss_mdp_cmd_stop(struct mdss_mdp_ctl *ctl, int panel_power_state)
(void *)&ctx->intf_mdp_callback,
CTL_INTF_EVENT_FLAG_DEFAULT);
+ mdss_mdp_tearcheck_enable(ctl, true);
+
ctx->intf_stopped = 0;
if (sctx)
sctx->intf_stopped = 0;