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>
Thu, 19 Apr 2018 14:08:25 +0000 (10:08 -0400)
commit78b32d49c49f7162f9ab5884a1b7228f6bfa2632
treec0e61424f826edf65dd2e861e950f10acfe94076
parentf1fa7ff4405697603f5e3901623533c54091f130
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