drm/msm: Mark the crtc->state->event consumed
authorSean Paul <seanpaul@chromium.org>
Wed, 28 Feb 2018 19:19:00 +0000 (14:19 -0500)
committerRob Clark <robdclark@gmail.com>
Sun, 3 Jun 2018 20:48:59 +0000 (16:48 -0400)
commit20387275142422103c3734238685cbee6ac0dffa
treeaedaf141caa858476047d2ad556b8180cd4ed0d4
parentf7b6bf20e26384c615a6f5d39eee148c36ed4003
drm/msm: Mark the crtc->state->event consumed

Don't leave the event != NULL once it's consumed, this is used a signal
to the atomic helpers that the event will be handled by the driver.

Changes in v2:
- None
Changes in v3:
- Rebased on Archit's private_obj set
Changes in v4:
- None

Cc: Jeykumar Sankaran <jsanka@codeaurora.org>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c