From 3c7779edf61e8a056ec35e8635edf893ad22e4f2 Mon Sep 17 00:00:00 2001 From: Yandong Lin Date: Wed, 30 Nov 2022 09:50:42 +0800 Subject: [PATCH] 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 Change-Id: Iefa57c883eda81553c1b4c17be4f18c4dc83c946 --- drivers/video/rockchip/mpp/mpp_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/rockchip/mpp/mpp_common.c b/drivers/video/rockchip/mpp/mpp_common.c index 6d2cdc970484..3477d8b62d7e 100644 --- a/drivers/video/rockchip/mpp/mpp_common.c +++ b/drivers/video/rockchip/mpp/mpp_common.c @@ -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,