public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/msm: Customize wait for atomic commit done function
@ 2015-04-28 23:35 Hai Li
  2015-04-28 23:35 ` [PATCH v2 1/2] drm/msm: Use customized function to wait for atomic commit done Hai Li
  2015-04-28 23:35 ` [PATCH v2 2/2] drm/msm/mdp5: Wait for PP_DONE irq for command mode CRTC atomic commit Hai Li
  0 siblings, 2 replies; 3+ messages in thread
From: Hai Li @ 2015-04-28 23:35 UTC (permalink / raw)
  To: dri-devel; +Cc: linux-arm-msm, linux-kernel, robdclark, Hai Li

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-28 23:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-28 23:35 [PATCH v2 0/2] drm/msm: Customize wait for atomic commit done function Hai Li
2015-04-28 23:35 ` [PATCH v2 1/2] drm/msm: Use customized function to wait for atomic commit done Hai Li
2015-04-28 23:35 ` [PATCH v2 2/2] drm/msm/mdp5: Wait for PP_DONE irq for command mode CRTC atomic commit Hai Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox