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

Commit 2466fb15 authored by Radhika Ranjan Soni's avatar Radhika Ranjan Soni
Browse files

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



Currently there is no way to identify if a pipe is used for
real time or non real time traffic. Adding debug prints to
identify the same which would be helpful for debugging.

Change-Id: Id24bbe029ead66924c897ba81cfed50d4ce6217d
Signed-off-by: default avatarRadhika Ranjan Soni <rrsoni@codeaurora.org>
parent bb59a2c0
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -601,10 +601,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);