Skip to content

Add support for GPU DDR BW scaling

Akhil P Oommen dri-devel linux-arm-msm linux-devicetree lkml oe-kbuild-all 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest6 patches 0 repliesNew
  2. v56 patches 14 repliesSuperseded
  3. v47 patches 6 repliesSuperseded

Changes in v6 from the cover letter

- Added "interconnect-names" property

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dt-bindings: drm/msm/gpu: Document gpu opp tableDocumentation/devicetree/bindings/display/msm/gpu.txt+28 -00 replies
2/6drm: msm: a6xx: send opp instead of a frequencydrivers/gpu/drm/msm/adreno/a6xx_gmu.c drivers/gpu/drm/msm/adreno/a6xx_gpu.h drivers/gpu/drm/msm/msm_gpu.c +1 more+52 -450 replies
3/6drm: msm: a6xx: use dev_pm_opp_set_bw to scale DDRdrivers/gpu/drm/msm/adreno/a6xx_gmu.c+17 -80 replies
4/6arm64: dts: qcom: SDM845: Enable GPU DDR bw scalingarch/arm64/boot/dts/qcom/sdm845.dtsi+10 -00 replies
5/6arm64: dts: qcom: sc7180: Add interconnects property for GPUarch/arm64/boot/dts/qcom/sc7180.dtsi+3 -00 replies
6/6arm64: dts: qcom: sc7180: Add opp-peak-kBps to GPU opparch/arm64/boot/dts/qcom/sc7180.dtsi+7 -00 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchRob HerringMatthias Kaehlcke
1/6A-b
2/6
3/6
4/6
5/6
6/6R-b

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

Read the v6 thread

Cover letter [PATCH v6 0/6] Add support for GPU DDR BW scaling

This series add support for GPU DDR bandwidth scaling and is based on the bindings from Georgi [1]. This is mostly a rebase of Sharat's patches [2] on the tip of msm-next branch.

[1] https://kernel.googlesource.com/pub/scm/linux/kernel/git/vireshk/pm/+log/opp/linux-next/
[2] https://patchwork.freedesktop.org/series/75291/

Changes from v5:
- Added "interconnect-names" property

Changes from v4:
- Squashed a patch to another one to fix Jonathan's comment
- Add back the pm_runtime_get_if_in_use() check

Changes from v3:
- Rebased on top of Jonathan's patch which adds support for changing gpu freq through hfi on newer targets
- As suggested by Rob, left the icc_path intact for pre-a6xx GPUs

Sharat Masetty (6):
dt-bindings: drm/msm/gpu: Document gpu opp table
drm: msm: a6xx: send opp instead of a frequency
drm: msm: a6xx: use dev_pm_opp_set_bw to scale DDR
arm64: dts: qcom: SDM845: Enable GPU DDR bw scaling
arm64: dts: qcom: sc7180: Add interconnects property for GPU
arm64: dts: qcom: sc7180: Add opp-peak-kBps to GPU opp

 .../devicetree/bindings/display/msm/gpu.txt        |  28 ++++++
 arch/arm64/boot/dts/qcom/sc7180.dtsi               |  10 ++
 arch/arm64/boot/dts/qcom/sdm845.dtsi               |  10 ++
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c              | 108 ++++++++++++---------
 drivers/gpu/drm/msm/adreno/a6xx_gpu.h              |   2 +-
 drivers/gpu/drm/msm/msm_gpu.c                      |   3 +-
 drivers/gpu/drm/msm/msm_gpu.h                      |   3 +-
 7 files changed, 114 insertions(+), 50 deletions(-)
Signature · 1 line
2.7.4