linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND v3 0/5] PM: domains: Add control for switching back and forth to HW control
@ 2023-09-23 11:49 Abel Vesa
  2023-09-23 11:53 ` Abel Vesa
  2023-09-27 11:32 ` Ulf Hansson
  0 siblings, 2 replies; 5+ messages in thread
From: Abel Vesa @ 2023-09-23 11:49 UTC (permalink / raw)
  To: Rafael J . Wysocki, Kevin Hilman, Ulf Hansson, Pavel Machek,
	Len Brown, Greg Kroah-Hartman, Bjorn Andersson, Andy Gross,
	Konrad Dybcio, Mike Turquette, Stephen Boyd, Taniya Das
  Cc: linux-pm, Linux Kernel Mailing List, linux-arm-msm

This is just a resend of v3:
https://lore.kernel.org/lkml/20230823114528.3677667-1-abel.vesa@linaro.org/

Just added Ulf's R-b tag to the 2nd patch. No other changes.

Abel Vesa (1):
  PM: domains: Add the domain HW-managed mode to the summary

Jagadeesh Kona (3):
  clk: qcom: gdsc: Add set and get hwmode callbacks to switch GDSC mode
  clk: qcom: Use HW_CTRL_TRIGGER flag to switch video GDSC to HW mode
  venus: pm_helpers: Use dev_pm_genpd_set_hwmode to switch GDSC mode

Ulf Hansson (1):
  PM: domains: Allow devices attached to genpd to be managed by HW

 drivers/base/power/domain.c                   | 84 ++++++++++++++++++-
 drivers/clk/qcom/gdsc.c                       | 32 +++++++
 drivers/clk/qcom/gdsc.h                       |  1 +
 drivers/clk/qcom/videocc-sc7180.c             |  2 +-
 drivers/clk/qcom/videocc-sc7280.c             |  2 +-
 drivers/clk/qcom/videocc-sdm845.c             |  4 +-
 drivers/clk/qcom/videocc-sm8250.c             |  4 +-
 drivers/clk/qcom/videocc-sm8550.c             |  4 +-
 drivers/media/platform/qcom/venus/core.c      |  4 +
 drivers/media/platform/qcom/venus/core.h      |  1 +
 .../media/platform/qcom/venus/pm_helpers.c    | 47 +++++------
 include/linux/pm_domain.h                     | 17 ++++
 12 files changed, 165 insertions(+), 37 deletions(-)

-- 
2.34.1


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

* [RESEND v3 0/5] PM: domains: Add control for switching back and forth to HW control
@ 2023-09-23 11:50 Abel Vesa
  0 siblings, 0 replies; 5+ messages in thread
From: Abel Vesa @ 2023-09-23 11:50 UTC (permalink / raw)
  To: Rafael J . Wysocki, Kevin Hilman, Ulf Hansson, Pavel Machek,
	Len Brown, Greg Kroah-Hartman, Bjorn Andersson, Andy Gross,
	Konrad Dybcio, Mike Turquette, Stephen Boyd, Taniya Das
  Cc: linux-pm, Linux Kernel Mailing List, linux-arm-msm

This is just a resend of v3:
https://lore.kernel.org/lkml/20230823114528.3677667-1-abel.vesa@linaro.org/

Just added Ulf's R-b tag to the 2nd patch. No other changes.

Abel Vesa (1):
  PM: domains: Add the domain HW-managed mode to the summary

Jagadeesh Kona (3):
  clk: qcom: gdsc: Add set and get hwmode callbacks to switch GDSC mode
  clk: qcom: Use HW_CTRL_TRIGGER flag to switch video GDSC to HW mode
  venus: pm_helpers: Use dev_pm_genpd_set_hwmode to switch GDSC mode

Ulf Hansson (1):
  PM: domains: Allow devices attached to genpd to be managed by HW

 drivers/base/power/domain.c                   | 84 ++++++++++++++++++-
 drivers/clk/qcom/gdsc.c                       | 32 +++++++
 drivers/clk/qcom/gdsc.h                       |  1 +
 drivers/clk/qcom/videocc-sc7180.c             |  2 +-
 drivers/clk/qcom/videocc-sc7280.c             |  2 +-
 drivers/clk/qcom/videocc-sdm845.c             |  4 +-
 drivers/clk/qcom/videocc-sm8250.c             |  4 +-
 drivers/clk/qcom/videocc-sm8550.c             |  4 +-
 drivers/media/platform/qcom/venus/core.c      |  4 +
 drivers/media/platform/qcom/venus/core.h      |  1 +
 .../media/platform/qcom/venus/pm_helpers.c    | 47 +++++------
 include/linux/pm_domain.h                     | 17 ++++
 12 files changed, 165 insertions(+), 37 deletions(-)

-- 
2.34.1


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

* Re: [RESEND v3 0/5] PM: domains: Add control for switching back and forth to HW control
  2023-09-23 11:49 [RESEND v3 0/5] PM: domains: Add control for switching back and forth to HW control Abel Vesa
@ 2023-09-23 11:53 ` Abel Vesa
  2023-09-27 11:32 ` Ulf Hansson
  1 sibling, 0 replies; 5+ messages in thread
From: Abel Vesa @ 2023-09-23 11:53 UTC (permalink / raw)
  To: Rafael J . Wysocki, Kevin Hilman, Ulf Hansson, Pavel Machek,
	Len Brown, Greg Kroah-Hartman, Bjorn Andersson, Andy Gross,
	Konrad Dybcio, Mike Turquette, Stephen Boyd, Taniya Das
  Cc: linux-pm, Linux Kernel Mailing List, linux-arm-msm

On 23-09-23 14:49:45, Abel Vesa wrote:
> This is just a resend of v3:
> https://lore.kernel.org/lkml/20230823114528.3677667-1-abel.vesa@linaro.org/
> 
> Just added Ulf's R-b tag to the 2nd patch. No other changes.
> 

Urgh, for some reason, only cover letter was sent. Please see full
patchset here:

https://lore.kernel.org/all/20230923115008.1698384-1-abel.vesa@linaro.org/

> Abel Vesa (1):
>   PM: domains: Add the domain HW-managed mode to the summary
> 
> Jagadeesh Kona (3):
>   clk: qcom: gdsc: Add set and get hwmode callbacks to switch GDSC mode
>   clk: qcom: Use HW_CTRL_TRIGGER flag to switch video GDSC to HW mode
>   venus: pm_helpers: Use dev_pm_genpd_set_hwmode to switch GDSC mode
> 
> Ulf Hansson (1):
>   PM: domains: Allow devices attached to genpd to be managed by HW
> 
>  drivers/base/power/domain.c                   | 84 ++++++++++++++++++-
>  drivers/clk/qcom/gdsc.c                       | 32 +++++++
>  drivers/clk/qcom/gdsc.h                       |  1 +
>  drivers/clk/qcom/videocc-sc7180.c             |  2 +-
>  drivers/clk/qcom/videocc-sc7280.c             |  2 +-
>  drivers/clk/qcom/videocc-sdm845.c             |  4 +-
>  drivers/clk/qcom/videocc-sm8250.c             |  4 +-
>  drivers/clk/qcom/videocc-sm8550.c             |  4 +-
>  drivers/media/platform/qcom/venus/core.c      |  4 +
>  drivers/media/platform/qcom/venus/core.h      |  1 +
>  .../media/platform/qcom/venus/pm_helpers.c    | 47 +++++------
>  include/linux/pm_domain.h                     | 17 ++++
>  12 files changed, 165 insertions(+), 37 deletions(-)
> 
> -- 
> 2.34.1
> 

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

* Re: [RESEND v3 0/5] PM: domains: Add control for switching back and forth to HW control
  2023-09-23 11:49 [RESEND v3 0/5] PM: domains: Add control for switching back and forth to HW control Abel Vesa
  2023-09-23 11:53 ` Abel Vesa
@ 2023-09-27 11:32 ` Ulf Hansson
  2023-09-27 11:37   ` Konrad Dybcio
  1 sibling, 1 reply; 5+ messages in thread
From: Ulf Hansson @ 2023-09-27 11:32 UTC (permalink / raw)
  To: Abel Vesa, Bjorn Andersson, Stephen Boyd
  Cc: Rafael J . Wysocki, Kevin Hilman, Pavel Machek, Len Brown,
	Greg Kroah-Hartman, Andy Gross, Konrad Dybcio, Mike Turquette,
	Taniya Das, linux-pm, Linux Kernel Mailing List, linux-arm-msm

On Sat, 23 Sept 2023 at 13:49, Abel Vesa <abel.vesa@linaro.org> wrote:
>
> This is just a resend of v3:
> https://lore.kernel.org/lkml/20230823114528.3677667-1-abel.vesa@linaro.org/
>
> Just added Ulf's R-b tag to the 2nd patch. No other changes.
>
> Abel Vesa (1):
>   PM: domains: Add the domain HW-managed mode to the summary
>
> Jagadeesh Kona (3):
>   clk: qcom: gdsc: Add set and get hwmode callbacks to switch GDSC mode
>   clk: qcom: Use HW_CTRL_TRIGGER flag to switch video GDSC to HW mode
>   venus: pm_helpers: Use dev_pm_genpd_set_hwmode to switch GDSC mode
>
> Ulf Hansson (1):
>   PM: domains: Allow devices attached to genpd to be managed by HW
>
>  drivers/base/power/domain.c                   | 84 ++++++++++++++++++-
>  drivers/clk/qcom/gdsc.c                       | 32 +++++++
>  drivers/clk/qcom/gdsc.h                       |  1 +
>  drivers/clk/qcom/videocc-sc7180.c             |  2 +-
>  drivers/clk/qcom/videocc-sc7280.c             |  2 +-
>  drivers/clk/qcom/videocc-sdm845.c             |  4 +-
>  drivers/clk/qcom/videocc-sm8250.c             |  4 +-
>  drivers/clk/qcom/videocc-sm8550.c             |  4 +-
>  drivers/media/platform/qcom/venus/core.c      |  4 +
>  drivers/media/platform/qcom/venus/core.h      |  1 +
>  .../media/platform/qcom/venus/pm_helpers.c    | 47 +++++------
>  include/linux/pm_domain.h                     | 17 ++++
>  12 files changed, 165 insertions(+), 37 deletions(-)
>

It looks like we need a plan for what tree to route this through. Or
if we should use more than one tree. Bjorn, Stephen, thoughts?

Kind regards
Uffe

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

* Re: [RESEND v3 0/5] PM: domains: Add control for switching back and forth to HW control
  2023-09-27 11:32 ` Ulf Hansson
@ 2023-09-27 11:37   ` Konrad Dybcio
  0 siblings, 0 replies; 5+ messages in thread
From: Konrad Dybcio @ 2023-09-27 11:37 UTC (permalink / raw)
  To: Ulf Hansson, Abel Vesa, Bjorn Andersson, Stephen Boyd
  Cc: Rafael J . Wysocki, Kevin Hilman, Pavel Machek, Len Brown,
	Greg Kroah-Hartman, Andy Gross, Mike Turquette, Taniya Das,
	linux-pm, Linux Kernel Mailing List, linux-arm-msm,
	Dikshita Agarwal, Vikash Garodia, Stanimir Varbanov

On 27.09.2023 13:32, Ulf Hansson wrote:
> On Sat, 23 Sept 2023 at 13:49, Abel Vesa <abel.vesa@linaro.org> wrote:
>>
>> This is just a resend of v3:
>> https://lore.kernel.org/lkml/20230823114528.3677667-1-abel.vesa@linaro.org/
>>
>> Just added Ulf's R-b tag to the 2nd patch. No other changes.
>>
>> Abel Vesa (1):
>>   PM: domains: Add the domain HW-managed mode to the summary
>>
>> Jagadeesh Kona (3):
>>   clk: qcom: gdsc: Add set and get hwmode callbacks to switch GDSC mode
>>   clk: qcom: Use HW_CTRL_TRIGGER flag to switch video GDSC to HW mode
>>   venus: pm_helpers: Use dev_pm_genpd_set_hwmode to switch GDSC mode
>>
>> Ulf Hansson (1):
>>   PM: domains: Allow devices attached to genpd to be managed by HW
>>
>>  drivers/base/power/domain.c                   | 84 ++++++++++++++++++-
>>  drivers/clk/qcom/gdsc.c                       | 32 +++++++
>>  drivers/clk/qcom/gdsc.h                       |  1 +
>>  drivers/clk/qcom/videocc-sc7180.c             |  2 +-
>>  drivers/clk/qcom/videocc-sc7280.c             |  2 +-
>>  drivers/clk/qcom/videocc-sdm845.c             |  4 +-
>>  drivers/clk/qcom/videocc-sm8250.c             |  4 +-
>>  drivers/clk/qcom/videocc-sm8550.c             |  4 +-
>>  drivers/media/platform/qcom/venus/core.c      |  4 +
>>  drivers/media/platform/qcom/venus/core.h      |  1 +
>>  .../media/platform/qcom/venus/pm_helpers.c    | 47 +++++------
>>  include/linux/pm_domain.h                     | 17 ++++
>>  12 files changed, 165 insertions(+), 37 deletions(-)
>>
> 
> It looks like we need a plan for what tree to route this through. Or
> if we should use more than one tree. Bjorn, Stephen, thoughts?
+CC Vikash, Dikshita, Stan

The venus patch should also be taken with the rest, I guess
taking everything through qcom would make sense

Konrad

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

end of thread, other threads:[~2023-09-27 11:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-23 11:49 [RESEND v3 0/5] PM: domains: Add control for switching back and forth to HW control Abel Vesa
2023-09-23 11:53 ` Abel Vesa
2023-09-27 11:32 ` Ulf Hansson
2023-09-27 11:37   ` Konrad Dybcio
  -- strict thread matches above, loose matches on Subject: below --
2023-09-23 11:50 Abel Vesa

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).