public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] add device managed version of dev_pm_domain_attach|detach_list()
@ 2024-07-12  5:48 Dikshita Agarwal
  2024-07-12  5:48 ` [PATCH 1/2] PM: domains: " Dikshita Agarwal
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Dikshita Agarwal @ 2024-07-12  5:48 UTC (permalink / raw)
  To: Rafael J. Wysocki, Pavel Machek, Len Brown, Greg Kroah-Hartman,
	Stanimir Varbanov, Vikash Garodia, Bjorn Andersson, Konrad Dybcio,
	Mauro Carvalho Chehab, Ulf Hansson, Philipp Zabel,
	Bryan O'Donoghue, Dikshita Agarwal
  Cc: Stanimir Varbanov, Mauro Carvalho Chehab, linux-pm, linux-kernel,
	linux-media, linux-arm-msm

These patches add the devres-enabled version of dev_pm_domain_attach|detach_list
in pm domain framework and use the same APIs in venus driver.
If any client drivers use devm_pm_domain_attach_list() to attach the PM domains,
devm_pm_domain_detach_list() will be invoked implicitly during remove phase.

Dikshita Agarwal (2):
  PM: domains: add device managed version of
    dev_pm_domain_attach|detach_list()
  media: venus: use device managed APIs for power domains

 drivers/base/power/common.c                    | 41 ++++++++++++++++++++++++++
 drivers/media/platform/qcom/venus/pm_helpers.c |  5 +---
 include/linux/pm_domain.h                      |  4 +++
 3 files changed, 46 insertions(+), 4 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2024-07-16 10:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-12  5:48 [PATCH 0/2] add device managed version of dev_pm_domain_attach|detach_list() Dikshita Agarwal
2024-07-12  5:48 ` [PATCH 1/2] PM: domains: " Dikshita Agarwal
2024-07-13  2:42   ` kernel test robot
2024-07-14 23:08   ` Bryan O'Donoghue
2024-07-16  4:11   ` Pavan Kondeti
2024-07-12  5:48 ` [PATCH 2/2] media: venus: use device managed APIs for power domains Dikshita Agarwal
2024-07-13  3:16   ` kernel test robot
2024-07-14 22:59   ` Bryan O'Donoghue
     [not found] ` <20230911-topic-mars-v2-0-3dac84b88c4b@linaro.org>
2024-07-12  5:48   ` [PATCH v2 01/20] media: venus: pm_helpers: Only set rate of the core clock in core_clks_enable Dikshita Agarwal
2024-07-12  6:07     ` Dikshita Agarwal
2024-07-16 10:49       ` Konrad Dybcio
2024-07-15 11:17 ` [PATCH 0/2] add device managed version of dev_pm_domain_attach|detach_list() Ulf Hansson

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