drm/msm: rework vblank event handling in dpu_crtc
authorRajesh Yadav <ryadav@codeaurora.org>
Fri, 13 Jul 2018 12:57:23 +0000 (18:27 +0530)
committerSean Paul <seanpaul@chromium.org>
Thu, 26 Jul 2018 14:45:05 +0000 (10:45 -0400)
commit2f2eb723b50b4da887a34570ff15a3c23d966b85
tree50de00fe65c8a5abd3c600d6b177243752fa2392
parent25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef
drm/msm: rework vblank event handling in dpu_crtc

The vblank on/off calls were missing in dpu_crtc
leading to "driver forgot to call drm_crtc_vblank_off()"
warning while entering suspend state.
Also handle the state update completion event for
a crtc being disabled in current atomic commit.

This patch depends on https://www.spinics.net/lists/dri-devel/msg182402.html

Signed-off-by: Rajesh Yadav <ryadav@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c