Merge "msm: mdss: Correct prefill bandwidth calculations"

This commit is contained in:
Linux Build Service Account 2017-02-26 23:48:17 -08:00 committed by Gerrit - the friendly Code Review server
commit d14b875d10

View file

@ -892,7 +892,7 @@ static u32 __calc_prefill_line_time_us(struct mdss_mdp_ctl *ctl)
static u32 __get_min_prefill_line_time_us(struct mdss_mdp_ctl *ctl)
{
u32 vbp_min = 0;
u32 vbp_min = UINT_MAX;
int i;
struct mdss_data_type *mdata;
@ -914,6 +914,9 @@ static u32 __get_min_prefill_line_time_us(struct mdss_mdp_ctl *ctl)
}
}
if (vbp_min == UINT_MAX)
vbp_min = 0;
return vbp_min;
}