[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1723014947-15571-1-git-send-email-quic_dikshita@quicinc.com>
Date: Wed, 7 Aug 2024 12:45:45 +0530
From: Dikshita Agarwal <quic_dikshita@...cinc.com>
To: "Rafael J. Wysocki" <rafael@...nel.org>, Pavel Machek <pavel@....cz>,
Len Brown <len.brown@...el.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Stanimir Varbanov <stanimir.k.varbanov@...il.com>,
Vikash Garodia <quic_vgarodia@...cinc.com>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>
Cc: "Bryan O'Donoghue" <bryan.odonoghue@...aro.org>, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
linux-arm-msm@...r.kernel.org,
Dikshita Agarwal <quic_dikshita@...cinc.com>
Subject: [PATCH v2 0/2] add device managed version of dev_pm_domain_attach|detach_list()
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.
Changes since v1:
- fixed the warnings reported by kernel test robot.
- added stub functions for !CONFIG_PM case.
- removed un-necessasry type casting.
- fixed the issue with remove sequence.
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 | 44 ++++++++++++++++++++++++++
drivers/media/platform/qcom/venus/pm_helpers.c | 5 +--
include/linux/pm_domain.h | 13 ++++++++
3 files changed, 58 insertions(+), 4 deletions(-)
--
2.7.4
Powered by blists - more mailing lists