From 317522e86e3a5b6527800a42a006e6edcc18e2ce Mon Sep 17 00:00:00 2001 From: Togo 77 Date: Sat, 15 Apr 2023 16:18:04 -0300 Subject: [PATCH] Revert "drivers: mdss: queue input handler functions to a high prio wq" This reverts commit 1ea72b8dffdec7f18a929467bf7db829ee0b3219. Change-Id: 239731c1e4c9ea17e2ee7c8a86fb661954aa54b3 Signed-off-by: TogoFire --- drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c b/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c index 3dbae31c901c..4d4dadd6f1c2 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c +++ b/drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c @@ -82,7 +82,6 @@ struct mdss_mdp_cmd_ctx { struct work_struct gate_clk_work; struct delayed_work delayed_off_clk_work; struct work_struct pp_done_work; - struct workqueue_struct *early_wakeup_clk_wq; struct work_struct early_wakeup_clk_work; atomic_t pp_done_cnt; struct completion rdptr_done; @@ -3506,9 +3505,7 @@ static int mdss_mdp_cmd_early_wake_up(struct mdss_mdp_ctl *ctl) * Only schedule if the interface has not been stopped. */ if (ctx && !ctx->intf_stopped) - queue_work(ctx->early_wakeup_clk_wq, - &ctx->early_wakeup_clk_work); - + schedule_work(&ctx->early_wakeup_clk_work); return 0; } @@ -3531,8 +3528,6 @@ static int mdss_mdp_cmd_ctx_setup(struct mdss_mdp_ctl *ctl, ctx->aux_pp_num = aux_pp_num; ctx->pingpong_split_slave = pingpong_split_slave; ctx->pp_timeout_report_cnt = 0; - ctx->early_wakeup_clk_wq - = alloc_workqueue("early_wakeup_clk_wq", WQ_HIGHPRI, 0); init_waitqueue_head(&ctx->pp_waitq); init_waitqueue_head(&ctx->rdptr_waitq); init_completion(&ctx->stop_comp);