video: msm: change normal operation prints to pr_debug
There is no need to print every time an mdp4 overlay pipe is allocated
or freed. Change these prints to pr_debugs so they can still be used for
debugging if necessary.
Change-Id: I91ba245ce54ab8a963539cfdea6d8d92efaf52a4
Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
diff --git a/drivers/video/msm/mdp4_overlay.c b/drivers/video/msm/mdp4_overlay.c
index 1d1d5f1..1bef55c 100644
--- a/drivers/video/msm/mdp4_overlay.c
+++ b/drivers/video/msm/mdp4_overlay.c
@@ -1589,7 +1589,7 @@
continue;
init_completion(&pipe->comp);
init_completion(&pipe->dmas_comp);
- pr_info("%s: pipe=%x ndx=%d num=%d\n", __func__,
+ pr_debug("%s: pipe=%x ndx=%d num=%d\n", __func__,
(int)pipe, pipe->pipe_ndx, pipe->pipe_num);
return pipe;
}
@@ -1605,7 +1605,7 @@
{
uint32 ptype, num, ndx, mixer;
- pr_info("%s: pipe=%x ndx=%d\n", __func__, (int)pipe, pipe->pipe_ndx);
+ pr_debug("%s: pipe=%x ndx=%d\n", __func__, (int)pipe, pipe->pipe_ndx);
ptype = pipe->pipe_type;
num = pipe->pipe_num;
diff --git a/drivers/video/msm/mdp4_overlay_dsi_video.c b/drivers/video/msm/mdp4_overlay_dsi_video.c
index 5f5d632..96a1eda 100644
--- a/drivers/video/msm/mdp4_overlay_dsi_video.c
+++ b/drivers/video/msm/mdp4_overlay_dsi_video.c
@@ -585,7 +585,7 @@
dsi_pipe->blt_addr = 0;
change++;
}
- pr_info("%s: enable=%d blt_addr=%x\n", __func__,
+ pr_debug("%s: enable=%d blt_addr=%x\n", __func__,
enable, (int)dsi_pipe->blt_addr);
spin_unlock_irqrestore(&mdp_spin_lock, flag);
diff --git a/drivers/video/msm/mdp4_util.c b/drivers/video/msm/mdp4_util.c
index a4a5b06..d82672e 100644
--- a/drivers/video/msm/mdp4_util.c
+++ b/drivers/video/msm/mdp4_util.c
@@ -2604,14 +2604,14 @@
if (!IS_ERR_OR_NULL(mfd->iclient)) {
if (!IS_ERR_OR_NULL(buf->ihdl)) {
ion_free(mfd->iclient, buf->ihdl);
- pr_info("%s:%d free writeback imem\n", __func__,
+ pr_debug("%s:%d free writeback imem\n", __func__,
__LINE__);
buf->ihdl = NULL;
}
} else {
if (buf->phys_addr) {
free_contiguous_memory_by_paddr(buf->phys_addr);
- pr_info("%s:%d free writeback pmem\n", __func__,
+ pr_debug("%s:%d free writeback pmem\n", __func__,
__LINE__);
}
}