]> git.baikalelectronics.ru Git - kernel.git/commit
drm: msm: a6xx: use dev_pm_opp_set_bw to scale DDR
authorSharat Masetty <smasetty@codeaurora.org>
Mon, 13 Jul 2020 12:41:43 +0000 (18:11 +0530)
committerRob Clark <robdclark@chromium.org>
Mon, 17 Aug 2020 19:31:44 +0000 (12:31 -0700)
commit8bdba6e8f22a34cda77b322f1c30304d3aa0944d
tree986558a1078f4781c83d1b10cb6b473a50e95fa1
parent410e2176db8eaf6813b7d53da7592192ffe5369f
drm: msm: a6xx: use dev_pm_opp_set_bw to scale DDR

This patches replaces the previously used static DDR vote and uses
dev_pm_opp_set_bw() to scale GPU->DDR bandwidth along with scaling
GPU frequency. Also since the icc path voting is handled completely
in the opp driver, remove the icc_path handle and its usage in the
drm driver.

Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
Signed-off-by: Akhil P Oommen <akhilpo@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a6xx_gmu.c