diff options
| author | Jeevan Shriram <jshriram@codeaurora.org> | 2014-10-28 22:36:25 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:35:32 -0700 |
| commit | 0f3da65e75fa69f00ff549a697d8d13d7444d6af (patch) | |
| tree | ab9764c71c83d0580178381a007112d0da871c89 /drivers/video/fbdev | |
| parent | fb44464063ceab439260a2386293c9d1f9ff1176 (diff) | |
msm: mdss: skip bus vote down if continuous splash hand-off is pending
When continuous splash is enabled, bus clocks are turned on by the
boot-loader display driver. If these bus clocks are voted down while
MDP is still actively fetching from DRAM, it leads to under-runs and
device hangs. Prevent this by skipping vote down of bus clocks if splash
hand-off is still pending.
Change-Id: Ia0b0ff90fb85024fb986453e70afaced331fbf06
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev')
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp.c b/drivers/video/fbdev/msm/mdss_mdp.c index 08e9b671e958..281bedf0c574 100644 --- a/drivers/video/fbdev/msm/mdss_mdp.c +++ b/drivers/video/fbdev/msm/mdss_mdp.c @@ -761,8 +761,9 @@ void mdss_bus_bandwidth_ctrl(int enable) if (changed) { if (!enable) { - msm_bus_scale_client_update_request( - mdata->bus_hdl, 0); + if (!mdata->handoff_pending) + msm_bus_scale_client_update_request( + mdata->bus_hdl, 0); pm_runtime_mark_last_busy(&mdata->pdev->dev); pm_runtime_put_autosuspend(&mdata->pdev->dev); } else { |
