[PATCH v2 0/2] drm/msm: Customize wait for atomic commit done function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

v2: Replace function pointer with a cmd mode flag to differentiate cmd mode wait
    function from video mode. (From Rob Clark)

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        |  39 ++++++++
 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        | 125 +++++++++++++++++++++---
 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, 206 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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux