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

Commit 5c86c695 authored by Sachin Bhayare's avatar Sachin Bhayare Committed by Krishna Manikandan
Browse files

msm: mdss: reduce logging from MDP3 driver



Remove logs from mdp3_ctrl_on and mdp3_dmap_update function.
These are resulting in excessive logging.

Change-Id: I331b2211113e94019875429f657a600e91f7e939
Signed-off-by: default avatarSachin Bhayare <sachin.bhayare@codeaurora.org>
parent 6e3dd4c6
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -750,8 +750,6 @@ static int mdp3_ctrl_on(struct msm_fb_data_type *mfd)
	mutex_lock(&mdp3_session->lock);

	panel = mdp3_session->panel;
	pr_err("%s %d in_splash_screen %d\n", __func__, __LINE__,
		mdp3_session->in_splash_screen);
	/* make sure DSI host is initialized properly */
	if (panel) {
		pr_debug("%s : dsi host init, power state = %d Splash %d\n",
@@ -760,7 +758,6 @@ static int mdp3_ctrl_on(struct msm_fb_data_type *mfd)
		if (mdss_fb_is_power_on_lp(mfd) ||
			mdp3_session->in_splash_screen) {
			/* Turn on panel so that it can exit low power mode */
		pr_err("%s %d\n", __func__, __LINE__);
			mdp3_clk_enable(1, 0);
		rc = panel->event_handler(panel,
				MDSS_EVENT_LINK_READY, NULL);
@@ -773,7 +770,7 @@ static int mdp3_ctrl_on(struct msm_fb_data_type *mfd)
	}

	if (mdp3_session->status) {
		pr_err("fb%d is on already\n", mfd->index);
		pr_debug("fb%d is on already\n", mfd->index);
		goto end;
	}

@@ -2494,7 +2491,7 @@ static int mdp3_ctrl_ioctl_handler(struct msm_fb_data_type *mfd,
		break;
	case MSMFB_ASYNC_BLIT:
		if (mdp3_session->in_splash_screen || mdp3_res->idle_pc) {
			pr_err("%s: reset- in_splash = %d, idle_pc = %d",
			pr_debug("%s: reset- in_splash = %d, idle_pc = %d",
				__func__, mdp3_session->in_splash_screen,
				mdp3_res->idle_pc);
			mdp3_ctrl_reset(mfd);
+0 −1
Original line number Diff line number Diff line
@@ -721,7 +721,6 @@ retry_dma_done:
retry_vsync:
		rc = wait_for_completion_timeout(&dma->vsync_comp,
			KOFF_TIMEOUT);
		pr_err("%s VID DMA Buff Addr %pK\n", __func__, buf);
		if (rc <= 0 && --retry_count) {
			int vsync = MDP3_REG_READ(MDP3_REG_INTR_STATUS) &
					(1 << MDP3_INTR_LCDC_START_OF_FRAME);