vdec: remove vp9 waiting work [1/1]
authorapollo.ling <apollo.ling@amlogic.com>
Wed, 16 Sep 2020 08:03:26 +0000 (16:03 +0800)
committerapollo.ling <apollo.ling@amlogic.com>
Mon, 21 Sep 2020 02:23:05 +0000 (10:23 +0800)
PD#SWPL-32897

Problem:
There is one failed case for CTSGSI test

Solution:
Remove vp9 waiting work to finished when next run

Verify:
u215

Change-Id: I2df8be6bd0fd912f8277b3cd6b6fcd0487b6dad4
Signed-off-by: apollo.ling <apollo.ling@amlogic.com>
drivers/frame_provider/decoder/vp9/vvp9.c

index 924af1691adc577c4dd16d2e5705b11241d07375..5717d608f073f4c35b94ade0d5604af67725d4a2 100644 (file)
@@ -10084,12 +10084,6 @@ static unsigned long run_ready(struct vdec_s *vdec, unsigned long mask)
                CODEC_MM_FLAGS_TVP : 0;
        unsigned long ret = 0;
 
-       if (work_pending(&pbi->work) ||
-           work_busy(&pbi->work)) {
-               vp9_print(pbi, PRINT_FLAG_VDEC_DETAIL,
-                         "vp9 work pending,not ready for run.\n");
-               return 0;
-       }
        if (!(pbi->pic_list_init_done && pbi->pic_list_init_done2) || pbi->eos)
                return ret;
        if (!pbi->first_sc_checked && pbi->mmu_enable) {