diff options
author | Samantha Tran <samtran@codeaurora.org> | 2020-01-07 15:28:31 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-01-28 13:05:41 -0800 |
commit | 68d8a319fa052c2b9da0faeedb240c8806107bb9 (patch) | |
tree | 2d09d47c6078a96b9cf58eae8e686e72eb4a0f2c | |
parent | ce189335af98ccd41335bee68602cc33d3c10bbf (diff) | |
download | display-drivers-68d8a319fa052c2b9da0faeedb240c8806107bb9.tar.gz |
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 <samtran@codeaurora.org>
-rw-r--r-- | msm/msm_drv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/msm/msm_drv.c b/msm/msm_drv.c index 025e71ea..ece6264a 100644 --- a/msm/msm_drv.c +++ b/msm/msm_drv.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved. * Copyright (C) 2013 Red Hat * Author: Rob Clark <robdclark@gmail.com> * @@ -336,7 +336,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; } |