[PATCH v3 0/6] Add support for GPU DDR BW scaling

From: Sharat Masetty
Date: Sat Jun 06 2020 - 00:26:33 EST


This is a respin of [1]. Incorported review feedback and fixed issues observed
during testing. Picked up the Georgi's series from opp/linux-next [2], and this
series is also dependent on a helper function needed to set and clear ddr
bandwidth vote [3]. Patch number 4 in the series adds support for SDM845 as well
but its not tested yet(WIP), but the SC7180 patches are well tested now.

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

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 | 9 +++
arch/arm64/boot/dts/qcom/sdm845.dtsi | 9 +++
drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 85 +++++++++++++---------
drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 2 +-
drivers/gpu/drm/msm/adreno/adreno_gpu.c | 8 --
drivers/gpu/drm/msm/msm_gpu.c | 3 +-
drivers/gpu/drm/msm/msm_gpu.h | 5 +-
8 files changed, 100 insertions(+), 49 deletions(-)

--
2.7.4