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

Commit 7d0bd403 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: add debug prints for RT and NRT traffic"

parents 9c232287 2466fb15
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -603,10 +603,15 @@ static void mdss_mdp_fixed_qos_arbiter_setup(struct mdss_data_type *mdata,
	writel_relaxed(reg_val, mdata->vbif_base + MDSS_VBIF_FIXED_SORT_EN);
	reg_val = readl_relaxed(mdata->vbif_base + MDSS_VBIF_FIXED_SORT_SEL0);
	mask = 0x1 << (pipe->xin_id * 2);
	if (is_realtime)
	if (is_realtime) {
		reg_val &= ~mask;
	else
		pr_debug("Real time traffic on pipe type=%x  pnum=%d\n",
				pipe->type, pipe->num);
	} else {
		reg_val |= mask;
		pr_debug("Non real time traffic on pipe type=%x  pnum=%d\n",
				pipe->type, pipe->num);
	}
	/* Set the fixed_sort regs as per RT/NRT client */
	writel_relaxed(reg_val, mdata->vbif_base + MDSS_VBIF_FIXED_SORT_SEL0);
	mutex_unlock(&mdata->reg_lock);