Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9fe89b78 authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: sde: Disable client driven prefetch for rotator" into msm-4.8

parents f16e7a4c dee61a08
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1751,6 +1751,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, vbif_qos;