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: Radhika Ranjan Soni <rrsoni@codeaurora.org>
This commit is contained in:
parent
23305791cc
commit
b7ed11b1b1
1 changed files with 7 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue