All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] drm/msm: Runtime PM for MDP5 based devices
@ 2017-07-28 10:46 Archit Taneja
  2017-07-28 10:46 ` [PATCH 01/10] drm/msm/mdp5: Fix typo in encoder_enable path Archit Taneja
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Archit Taneja @ 2017-07-28 10:46 UTC (permalink / raw)
  To: robdclark; +Cc: linux-arm-msm, dri-devel

This series sets up runtime PM for MDP5 based SoCs.

We have a top level MDSS device, which parents devices like MDP5, DSI,
HDMI etc. The parent child relation between them establishes a similar
relationship for their power domains too. In the HW (and the DT
bindings), only MDSS has control over the power domain (i.e, the MDSS
GDSC). In software, we do the same by assigning the GDSC to MDSS, and
the children end up voting for the GDSC by calling the
pm_runtime_get/put() API.

For this to work, we need to convert all the child drivers to DT. The
patchset converts MDP5, DSI and HDMI to use runtime PM. The first 2
patches and the last patch are minor fixes not directly related to
runtime PM.

Tested on DB410c and DB820c.

Archit Taneja (10):
  drm/msm/mdp5: Fix typo in encoder_enable path
  drm/msm/mdp5: Drop clock names with "_clk" suffix
  drm/msm/mdp5: Use runtime PM get/put API instead of toggling clocks
  drm/msm/hdmi: Set up runtime PM for HDMI
  drm/msm/dsi: Set up runtime PM for DSI
  drm/msm/dsi: Implement RPM suspend/resume callbacks
  drm/msm/mdp5: Don't use mode_set helper funcs for encoders and CRTCs
  drm/msm/mdp5: Write to SMP registers even if allocations don't change
  drm/msm/mdp5: Set up runtime PM for MDSS
  drm/msm/adreno: Prevent unclocked access when retrieving timestamps

 drivers/gpu/drm/msm/adreno/adreno_gpu.c         | 11 ++-
 drivers/gpu/drm/msm/dsi/dsi.c                   |  5 ++
 drivers/gpu/drm/msm/dsi/dsi.h                   |  2 +
 drivers/gpu/drm/msm/dsi/dsi_host.c              | 94 ++++++++++++++-----------
 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c           |  2 +-
 drivers/gpu/drm/msm/hdmi/hdmi.c                 |  2 +
 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c          |  4 ++
 drivers/gpu/drm/msm/hdmi/hdmi_connector.c       | 63 ++++++++++++-----
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_cmd_encoder.c |  7 +-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c        | 25 ++++---
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c     | 14 ++--
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_irq.c         | 27 ++++---
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c         | 63 ++++++++++++-----
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h         |  3 -
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_mdss.c        | 63 ++++++++++++++---
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_smp.c         | 59 +++++++++++++---
 drivers/gpu/drm/msm/msm_drv.c                   | 29 ++++++++
 drivers/gpu/drm/msm/msm_kms.h                   |  2 +
 18 files changed, 350 insertions(+), 125 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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2017-07-28 13:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-28 10:46 [PATCH 00/10] drm/msm: Runtime PM for MDP5 based devices Archit Taneja
2017-07-28 10:46 ` [PATCH 01/10] drm/msm/mdp5: Fix typo in encoder_enable path Archit Taneja
2017-07-28 10:47 ` [PATCH 02/10] drm/msm/mdp5: Drop clock names with "_clk" suffix Archit Taneja
2017-07-28 10:47 ` [PATCH 03/10] drm/msm/mdp5: Use runtime PM get/put API instead of toggling clocks Archit Taneja
2017-07-28 10:47 ` [PATCH 04/10] drm/msm/hdmi: Set up runtime PM for HDMI Archit Taneja
2017-07-28 10:47 ` [PATCH 05/10] drm/msm/dsi: Set up runtime PM for DSI Archit Taneja
2017-07-28 10:47 ` [PATCH 06/10] drm/msm/dsi: Implement RPM suspend/resume callbacks Archit Taneja
2017-07-28 10:47 ` [PATCH 07/10] drm/msm/mdp5: Don't use mode_set helper funcs for encoders and CRTCs Archit Taneja
2017-07-28 10:47 ` [PATCH 08/10] drm/msm/mdp5: Write to SMP registers even if allocations don't change Archit Taneja
2017-07-28 10:47 ` [PATCH 09/10] drm/msm/mdp5: Set up runtime PM for MDSS Archit Taneja
2017-07-28 10:47 ` [PATCH 10/10] drm/msm/adreno: Prevent unclocked access when retrieving timestamps Archit Taneja
2017-07-28 13:52   ` Jordan Crouse

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.