[PATCH 0/2] soc: qcom: rpmhpd: Improve rpmhpd enable handling

From: Bjorn Andersson
Date: Fri Jul 02 2021 - 20:56:33 EST


During the discussion and investigation of [1] it became apparent that
enabling a rpmhpd, without requesting a performance state is a nop. This
results in a situation where drivers that normally would just describe
their dependency on the power-domain and have the core implicitly enable
that power domain also needs to make an explicit vote for a performance
state - e.g. by a lone required-opp.

[1] https://lore.kernel.org/linux-arm-msm/20210630133149.3204290-4-dmitry.baryshkov@xxxxxxxxxx/

Bjorn Andersson (2):
soc: qcom: rpmhpd: Use corner in power_off
soc: qcom: rpmhpd: Make power_on actually enable the domain

drivers/soc/qcom/rpmhpd.c | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)

--
2.29.2