msm: mdss: add check to avoid fudge factor for non real time interfaces
Current driver checks if some video interface is connected in order to apply a fudge factor. This is expected for real time interfaces, but non real time interfaces should not account for this extra bandwidth. This fix adds a check to make sure that for non real time interfaces the fudge factor does not get applied. Change-Id: Ib01d12f4e7749f4e083fa09f6392896313978d72 Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
This commit is contained in:
parent
62b22e15f5
commit
7e1db2ca6d
1 changed files with 2 additions and 1 deletions
|
@ -1063,7 +1063,8 @@ static void mdss_mdp_perf_calc_ctl(struct mdss_mdp_ctl *ctl,
|
|||
__mdss_mdp_perf_calc_ctl_helper(ctl, perf,
|
||||
left_plist, left_cnt, right_plist, right_cnt, 0);
|
||||
|
||||
if (ctl->is_video_mode || mdss_mdp_video_mode_intf_connected(ctl)) {
|
||||
if (ctl->is_video_mode || ((ctl->intf_type != MDSS_MDP_NO_INTF) &&
|
||||
mdss_mdp_video_mode_intf_connected(ctl))) {
|
||||
perf->bw_ctl =
|
||||
max(apply_fudge_factor(perf->bw_overlap,
|
||||
&mdss_res->ib_factor_overlap),
|
||||
|
|
Loading…
Add table
Reference in a new issue