vdec: remove some printings [1/1]
authorapollo.ling <apollo.ling@amlogic.com>
Thu, 31 Oct 2019 07:14:26 +0000 (15:14 +0800)
committerapollo.ling <apollo.ling@amlogic.com>
Thu, 31 Oct 2019 07:14:37 +0000 (15:14 +0800)
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 <apollo.ling@amlogic.com>
drivers/frame_provider/decoder/h264_multi/vmh264.c

index f34097c022e562213eb5bbe31fbce8e89ca82f1c..3d26c59699dee0a3dd5dfbc5b7c4ee34cbbe5821 100644 (file)
@@ -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