Revert "drm/msm: remove the right vlbank event from the event list"

This reverts commit 792779946e.
This is reverted to fix the weston display.

Change-Id: Iff811f643a8756d6d0921a743736f1a535893883
Signed-off-by: suresh <suresh@codeaurora.org>
This commit is contained in:
Suresh Reddy Yellala 2017-10-10 12:29:53 -07:00 committed by Gerrit - the friendly Code Review server
parent 517a989646
commit cb6aacb5fa

View file

@ -185,14 +185,9 @@ static void vblank_ctrl_worker(struct kthread_work *work)
struct msm_kms *kms = priv->kms;
struct vblank_event *vbl_ev, *tmp;
unsigned long flags;
struct kthread_worker *worker = work->worker;
struct msm_drm_commit *commit = container_of(worker,
struct msm_drm_commit, worker);
spin_lock_irqsave(&vbl_ctrl->lock, flags);
list_for_each_entry_safe(vbl_ev, tmp, &vbl_ctrl->event_list, node) {
if (vbl_ev->crtc_id != commit->crtc_id)
continue;
list_del(&vbl_ev->node);
spin_unlock_irqrestore(&vbl_ctrl->lock, flags);