Skip to contentSkip to conversation

PM: domains: Add control for switching back and forth to HW control

PATCH RESEND Superseded Abel Vesa 3 participants 4 messages Sep 23, 2023 – Sep 27, 2023 Arm Qualcomm mailing list

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Abel Vesa

author
#0 lore raw

v3 cover PM: domains: Add control for switching back and forth to HW control

This is just a resend of v3:
https://lore.kernel.org/lkml/[email protected]/

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(-)
Signature · 1 line
2.34.1
author
#1 lore raw
Quoted 5 lines · Abel Vesa

This is just a resend of v3:
https://lore.kernel.org/lkml/[email protected]/

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/[email protected]/

Quoted 28 lines

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(-)
Signature · 1 line
2.34.1
#2 lore raw
In reply to Abel Vesa
Quoted 17 lines · Abel Vesa

This is just a resend of v3:
https://lore.kernel.org/lkml/[email protected]/

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

Quoted 14 lines
 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

#3 lore raw
Quoted 33 lines · Ulf Hansson
Quoted 17 lines · Abel Vesa

This is just a resend of v3:
https://lore.kernel.org/lkml/[email protected]/

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

Quoted 14 lines
 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(-)
Quoted 2 lines

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