The current way to wait for atomic commit done may cause unnecessary wait for another vsync for video mode path. Also, for command mode path, we need to wait for PP_DONE event other than vsync before finish. This patch series is to fix these issues. Hai Li (2): drm/msm: Use customized function to wait for atomic commit done drm/msm/mdp5: Wait for PP_DONE irq for command mode CRTC atomic commit drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c | 46 +++++++++ drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c | 7 ++ drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h | 1 + drivers/gpu/drm/msm/mdp/mdp5/mdp5_cmd_encoder.c | 4 - drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c | 127 +++++++++++++++++++++--- drivers/gpu/drm/msm/mdp/mdp5/mdp5_ctl.c | 11 +- drivers/gpu/drm/msm/mdp/mdp5/mdp5_ctl.h | 3 +- drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c | 7 ++ drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h | 1 + drivers/gpu/drm/msm/msm_atomic.c | 30 +++++- drivers/gpu/drm/msm/msm_kms.h | 3 + 11 files changed, 215 insertions(+), 25 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html