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

Commit 9e717165 authored by Govindaraj Rajagopal's avatar Govindaraj Rajagopal
Browse files

msm: vidc: print only memory usage



To avoid overlogging issue, print only memory usage
during session rejection.

Change-Id: Ie155d5611a998b8e32c8cc5700f4e0a7fbd558ae
Signed-off-by: default avatarGovindaraj Rajagopal <grajagop@codeaurora.org>
parent 1e662d20
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5885,7 +5885,7 @@ int msm_comm_check_memory_supported(struct msm_vidc_inst *vidc_inst)
		s_vpr_e(vidc_inst->sid,
			"%s: video mem overshoot - reached %llu MB, max_limit %llu MB\n",
			__func__, total_mem_size >> 20, memory_limit_mbytes);
		msm_comm_print_insts_info(core);
		msm_comm_print_mem_usage(core);
		return -EBUSY;
	}

@@ -5900,7 +5900,7 @@ int msm_comm_check_memory_supported(struct msm_vidc_inst *vidc_inst)
			s_vpr_e(vidc_inst->sid,
				"%s: insufficient device addr space, required %llu, available %llu\n",
				__func__, non_sec_mem_size, non_sec_cb_size);
			msm_comm_print_insts_info(core);
			msm_comm_print_mem_usage(core);
			return -EINVAL;
		}
	}