drm/msm/mdp5: Wait for PP_DONE irq for command mode CRTC atomic commit
authorHai Li <hali@codeaurora.org>
Tue, 28 Apr 2015 23:35:38 +0000 (19:35 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 11 Jun 2015 17:11:04 +0000 (13:11 -0400)
commit68cdbed90777ed0291214f30a3532a8f795b481e
tree0f617b19e983e1f94065025fbfa6d3c523b0fbb7
parent0a5c9aad119c4415e14ece4c17cec66aa572e827
drm/msm/mdp5: Wait for PP_DONE irq for command mode CRTC atomic commit

CRTCs in DSI command mode data path should wait for pingpong done,
instead of vblank, to finish atomic commit.

This change is to enable PP_DONE irq on command mode CRTCs and wait for
this irq happens before atomic commit completion.

Signed-off-by: Hai Li <hali@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_cmd_encoder.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c