Skip to content

RFC msm: clk: Define a special power domain for SDM845 GX

Jordan Crouse linux-clk 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/msm/a6xx: Remove unwanted regulator codedrivers/gpu/drm/msm/adreno/a6xx_gmu.c drivers/gpu/drm/msm/adreno/a6xx_gmu.h+0 -61 reply
2/4clk: qcom: gdsc: Don't override existing gdsc pd functionsdrivers/clk/qcom/gdsc.c+4 -21 reply
3/4clk: qcom: Add a dummy enable function for GX gdscdrivers/clk/qcom/gpucc-sdm845.c+26 -40 replies
4/4drm/msm/gpu: Attach to the GPU GX power domaindrivers/gpu/drm/msm/adreno/a6xx_gmu.c drivers/gpu/drm/msm/adreno/a6xx_gmu.h+42 -13 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchRajendra Nayak
1/4
2/4A-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC 0/4] msm: clk: Define a special power domain for SDM845 GX

The GPU GX domain on SDM845 is nominally managed by the GMU microcontroller but there are certain circumstances when the CPU needs to be sure that the GX headswitch is off.

This RFC series adds a special modification for the GX power domain that always returns success for domain power on and uses the default gdsc functions for power down.

With this, we should be able to remove most of GX clocks from the gpucc and have a relatively clean way of handling the hardware workaround.

This is based on the series from [1] with some slight changes for the current for-next from Andy.

[1] https://patchwork.kernel.org/patch/10563887/

Jordan Crouse (4):
drm/msm/a6xx: Remove unwanted regulator code
clk: qcom: gdsc: Don't override existing gdsc pd functions
clk: qcom: Add a dummy enable function for GX gdsc drm/msm/gpu: Attach to the GPU GX power domain

 drivers/clk/qcom/gdsc.c               |  6 ++--
 drivers/clk/qcom/gpucc-sdm845.c       | 30 ++++++++++++++++---
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 43 ++++++++++++++++++++++++---
 drivers/gpu/drm/msm/adreno/a6xx_gmu.h |  4 +--
 4 files changed, 71 insertions(+), 12 deletions(-)
Signature · 1 line
2.18.0