disp: msm: sde: fix bandwidth voting in resume usecase
This change resets the bandwidth vote after lastclose is called and all the custom properties are reset. This is required so that on next power commit when user space driver does not apply any bandwidth vote, driver applies correct vote. Additionally this change ensures that aggregate bandwidth vote never exceeds the max threshold. Change-Id: I95ca761b381709850b630ecd6647b45968a5041e Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
This commit is contained in:
@@ -5573,6 +5573,9 @@ int sde_crtc_helper_reset_custom_properties(struct drm_crtc *crtc,
|
||||
}
|
||||
}
|
||||
|
||||
/* disable clk and bw control until clk & bw properties are set */
|
||||
cstate->bw_control = false;
|
||||
cstate->bw_split_vote = false;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user