From: Archit Taneja <architt@codeaurora.org>
To: robdclark@gmail.com
Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: [PATCH 00/10] drm/msm: Runtime PM for MDP5 based devices
Date: Fri, 28 Jul 2017 16:16:58 +0530 [thread overview]
Message-ID: <20170728104708.20635-1-architt@codeaurora.org> (raw)
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
next reply other threads:[~2017-07-28 10:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-28 10:46 Archit Taneja [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170728104708.20635-1-architt@codeaurora.org \
--to=architt@codeaurora.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=robdclark@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).