msm: mdss: fix typo in mdp bw calculations preventing to use comp ratio

Fix typo that prevents to use the compression ratio factor
to reduce the bw vote for ubwc formats.

Change-Id: Ic06129a1fa0c548bda9673037748b348b8af730a
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
This commit is contained in:
Ingrid Gallardo 2015-07-01 09:09:05 -07:00 committed by David Keitel
parent 4381407108
commit e593068d2e

View file

@ -555,7 +555,7 @@ u32 apply_comp_ratio_factor(u32 quota,
{ {
struct mdss_data_type *mdata = mdss_mdp_get_mdata(); struct mdss_data_type *mdata = mdss_mdp_get_mdata();
if (!mdata || test_bit(MDSS_QOS_OVERHEAD_FACTOR, if (!mdata || !test_bit(MDSS_QOS_OVERHEAD_FACTOR,
mdata->mdss_qos_map)) mdata->mdss_qos_map))
return quota; return quota;