[PATCH 00/10] drm/msm: Runtime PM for MDP5 based devices

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

 



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@xxxxxxxxxxxxxxxxxxxxx
https://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