summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishnuvardhan Prodduturi <vproddut@codeaurora.org>2017-01-20 22:25:50 +0530
committerVishnuvardhan Prodduturi <vproddut@codeaurora.org>2017-03-07 10:43:21 +0530
commitabf8e86fe6993332216c42fe4a489306e9efe7a0 (patch)
tree1e8c7f478b3cd7a8d5b18fcaf04efdd383f01884
parent6ab42d60d15f6fd833fa194b198c3224b8ffeb0a (diff)
msm: mdss: set interface stopped flag properly during suspend
In current implementation while disabling interface, the interface stopped flag is not keeping the correct value. This is causing issues when later if we use this flag during command autorefresh feature disable. So update the flag properly after wiping out display context structure to store correct value. Change-Id: Id2cc64e3f10711b92f8b8f4f36f73f716c9ac831 Signed-off-by: Sandeep Panda <spanda@codeaurora.org> Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
-rw-r--r--drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c b/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c
index 714e1c06db78..b6a93cac8312 100644
--- a/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c
+++ b/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c
@@ -3172,6 +3172,8 @@ int mdss_mdp_cmd_ctx_stop(struct mdss_mdp_ctl *ctl,
ctx->default_pp_num, NULL, NULL);
memset(ctx, 0, sizeof(*ctx));
+ /* intf stopped, no more kickoff */
+ ctx->intf_stopped = 1;
return 0;
}