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>
This commit is contained in:
Jeevan Shriram 2014-10-28 22:36:25 -07:00 committed by David Keitel
parent fb44464063
commit 0f3da65e75

View file

@ -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 {