Skip to content

Commit

Permalink
Revert "drivers: mdss: queue input handler functions to a high prio wq"
Browse files Browse the repository at this point in the history
This reverts commit 1ea72b8.

Change-Id: 239731c1e4c9ea17e2ee7c8a86fb661954aa54b3
Signed-off-by: TogoFire <togofire@mailfence.com>
  • Loading branch information
TogoFire committed Apr 22, 2023
1 parent e200f15 commit 317522e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}

Expand All @@ -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);
Expand Down

0 comments on commit 317522e

Please sign in to comment.