Merge "msm: sde: Disable client driven prefetch for rotator"

This commit is contained in:
Linux Build Service Account 2017-02-15 17:01:35 -08:00 committed by Gerrit - the friendly Code Review server
commit c8617c203f

View file

@ -1752,6 +1752,12 @@ static int sde_hw_rotator_config(struct sde_rot_hw_resource *hw,
SDE_ROTREG_WRITE(rot->mdss_base, ROT_SSPP_CREQ_LUT, qos_lut);
}
/* Set CDP control registers to 0 if CDP is disabled */
if (!test_bit(SDE_QOS_CDP, mdata->sde_qos_map)) {
SDE_ROTREG_WRITE(rot->mdss_base, ROT_SSPP_CDP_CNTL, 0x0);
SDE_ROTREG_WRITE(rot->mdss_base, ROT_WB_CDP_CNTL, 0x0);
}
if (mdata->npriority_lvl > 0) {
u32 mask, reg_val, i, j, vbif_qos, reg_val_lvl, reg_high;