From: apollo.ling Date: Wed, 16 Sep 2020 08:03:26 +0000 (+0800) Subject: vdec: remove vp9 waiting work [1/1] X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d1ccb23c2eca1e5fb29182a04fb6400e818d7088;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_media.git vdec: remove vp9 waiting work [1/1] 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 --- diff --git a/drivers/frame_provider/decoder/vp9/vvp9.c b/drivers/frame_provider/decoder/vp9/vvp9.c index 924af16..5717d60 100644 --- a/drivers/frame_provider/decoder/vp9/vvp9.c +++ b/drivers/frame_provider/decoder/vp9/vvp9.c @@ -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) {