[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

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux