From bf06be47372a822a01f2bffb068d470de018b4c5 Mon Sep 17 00:00:00 2001 From: Samantha Tran Date: Tue, 7 Jan 2020 15:28:31 -0800 Subject: [PATCH] disp: msm: queue vblank work on event thread This change queues vblank work to event thread rather than the display thread. This allows vblank events to be processed without potentially being delayed by crtc commit being processed. Change-Id: I9cbf9b3de646716e4698af9f338a7140346b65fd Signed-off-by: Samantha Tran --- msm/msm_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/msm/msm_drv.c b/msm/msm_drv.c index 002f3faace49..478b1e48979a 100644 --- a/msm/msm_drv.c +++ b/msm/msm_drv.c @@ -362,7 +362,8 @@ static int vblank_ctrl_queue_work(struct msm_drm_private *priv, cur_work->enable = enable; cur_work->priv = priv; - kthread_queue_work(&priv->disp_thread[crtc_id].worker, &cur_work->work); + kthread_queue_work(&priv->event_thread[crtc_id].worker, + &cur_work->work); return 0; }