]> 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)
commit5b38872673f72c048e8e38714054ac86609575fb
tree986558a1078f4781c83d1b10cb6b473a50e95fa1
parent00c0561931fef5a05b24d60d4d77d3a8ca002f56
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