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

Commit 6f412a8f authored by Deva Ramasubramanian's avatar Deva Ramasubramanian
Browse files

msm: vidc: Suppress spammy log



Suppress a needlessly spammy log that shows up when secure content is
being played.  Also make some other logs print out something useful.

Change-Id: I971e8f45393730218bc7a6947bdd938aa6b0732c
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
parent 078636be
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -686,7 +686,8 @@ int output_buffer_cache_invalidate(struct msm_vidc_inst *inst,
				return -EINVAL;
			}
		} else
			dprintk(VIDC_ERR, "%s: WARN: NULL handle", __func__);
			dprintk(VIDC_DBG, "%s: NULL handle for plane %d\n",
					__func__, i);
	}
	return 0;
}
+9 −5
Original line number Diff line number Diff line
@@ -395,7 +395,8 @@ static int wait_for_sess_signal_receipt(struct msm_vidc_inst *inst,
		&inst->completions[SESSION_MSG_INDEX(cmd)],
		msecs_to_jiffies(msm_vidc_hw_rsp_timeout));
	if (!rc) {
		dprintk(VIDC_ERR, "Wait interrupted or timeout: %d\n", rc);
		dprintk(VIDC_ERR, "Wait interrupted or timeout: %d\n",
				SESSION_MSG_INDEX(cmd));
		msm_comm_recover_from_session_error(inst);
		rc = -EIO;
	} else {
@@ -1467,7 +1468,8 @@ static int msm_comm_unset_ocmem(struct msm_vidc_core *core)
		&core->completions[SYS_MSG_INDEX(RELEASE_RESOURCE_DONE)],
		msecs_to_jiffies(msm_vidc_hw_rsp_timeout));
	if (!rc) {
		dprintk(VIDC_ERR, "Wait interrupted or timeout: %d\n", rc);
		dprintk(VIDC_ERR, "Wait interrupted or timeout: %d\n",
				SYS_MSG_INDEX(RELEASE_RESOURCE_DONE));
		rc = -EIO;
	}
release_ocmem_failed:
@@ -1489,7 +1491,8 @@ static int msm_comm_init_core_done(struct msm_vidc_inst *inst)
		&core->completions[SYS_MSG_INDEX(SYS_INIT_DONE)],
		msecs_to_jiffies(msm_vidc_hw_rsp_timeout));
	if (!rc) {
		dprintk(VIDC_ERR, "Wait interrupted or timeout: %d\n", rc);
		dprintk(VIDC_ERR, "Wait interrupted or timeout: %d\n",
				SYS_MSG_INDEX(SYS_INIT_DONE));
		rc = -EIO;
		goto exit;
	} else {
@@ -2641,7 +2644,8 @@ int msm_comm_try_get_prop(struct msm_vidc_inst *inst, enum hal_property ptype,
		msecs_to_jiffies(msm_vidc_hw_rsp_timeout));
	if (!rc) {
		dprintk(VIDC_ERR,
			"Wait interrupted or timeout: %d\n", rc);
			"Wait interrupted or timeout: %d\n",
			SESSION_MSG_INDEX(SESSION_PROPERTY_INFO));
		inst->state = MSM_VIDC_CORE_INVALID;
		msm_comm_recover_from_session_error(inst);
		rc = -EIO;
@@ -3481,7 +3485,7 @@ int msm_comm_recover_from_session_error(struct msm_vidc_inst *inst)
		msecs_to_jiffies(msm_vidc_hw_rsp_timeout));
	if (!rc) {
		dprintk(VIDC_ERR, "%s: Wait interrupted or timeout: %d\n",
			__func__, rc);
			__func__, SESSION_MSG_INDEX(SESSION_ABORT_DONE));
		msm_comm_generate_sys_error(inst);
	} else
		change_inst_state(inst, MSM_VIDC_CLOSE_DONE);