From 9e7171650a541c79be3e4758e0c2baeda53bd65c Mon Sep 17 00:00:00 2001 From: Govindaraj Rajagopal Date: Wed, 25 Nov 2020 17:08:46 +0530 Subject: [PATCH] msm: vidc: print only memory usage To avoid overlogging issue, print only memory usage during session rejection. Change-Id: Ie155d5611a998b8e32c8cc5700f4e0a7fbd558ae Signed-off-by: Govindaraj Rajagopal --- msm/vidc/msm_vidc_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msm/vidc/msm_vidc_common.c b/msm/vidc/msm_vidc_common.c index 13b3f30b3605..7945be8a9c3e 100644 --- a/msm/vidc/msm_vidc_common.c +++ b/msm/vidc/msm_vidc_common.c @@ -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; } }