From 7420081f31aa40ef3892cdf7c3b8b880ab18d7f8 Mon Sep 17 00:00:00 2001 From: apollo.ling Date: Thu, 31 Oct 2019 07:14:26 +0000 Subject: vdec: remove some printings [1/1] PD#SWPL-15106 Problem: h264 keep print "ref_pic_list_reordering error" Solution: remove some printings Verify: X301 Change-Id: Ic8f9bc0c1c536abd209775d4d1b501303fc4ef67 Signed-off-by: apollo.ling --- diff --git a/drivers/frame_provider/decoder/h264_multi/vmh264.c b/drivers/frame_provider/decoder/h264_multi/vmh264.c index f34097c..3d26c59 100644 --- a/drivers/frame_provider/decoder/h264_multi/vmh264.c +++ b/drivers/frame_provider/decoder/h264_multi/vmh264.c @@ -845,8 +845,6 @@ struct vdec_h264_hw_s { bool new_iframe_flag; bool ref_err_flush_dpb_flag; unsigned int first_i_policy; - u32 tfn_cnt; - u64 tfn_ns; }; static u32 again_threshold; @@ -5347,17 +5345,6 @@ static irqreturn_t vh264_isr_thread_fn(struct vdec_s *vdec, int irq) unsigned int dec_dpb_status = p_H264_Dpb->dec_dpb_status; u32 debug_tag; int ret; - if (++hw->tfn_cnt == 1) { - hw->tfn_ns = local_clock(); - } else if (hw->tfn_cnt >= 10) { - u64 tenth_ns = local_clock(); - /* Here borrow the varible debug_tag for use */ - debug_tag = tenth_ns - hw->tfn_ns; - hw->tfn_cnt = 1; - hw->tfn_cnt = tenth_ns; - if (debug_tag <= 10000000) - pr_err("Within 10ms 10 vh264_isr_thread_fn!\n"); - } if (dec_dpb_status == H264_CONFIG_REQUEST) { #if 1 -- cgit