video: rockchip: mpp: fix task not proc in time in some abnormal case

If current task finish with soft timeout, the next
task in pending list will not get processing.

So, need to trigger again in mpp_task_timeout_work to
ensure that next task in pending task gets processed in time.

Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Iefa57c883eda81553c1b4c17be4f18c4dc83c946
This commit is contained in:
Yandong Lin
2022-11-30 09:50:42 +08:00
committed by Tao Huang
parent 6ae2a3fab2
commit 3c7779edf6

View File

@@ -590,6 +590,7 @@ static void mpp_task_timeout_work(struct work_struct *work_s)
/* remove task from taskqueue running list */
mpp_taskqueue_pop_running(mpp->queue, task);
mpp_taskqueue_trigger_work(mpp);
}
static int mpp_process_task_default(struct mpp_session *session,