OSDN Git Service

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)
commit20925fe84463ef87a01b0b536768c39544eae89b
tree986558a1078f4781c83d1b10cb6b473a50e95fa1
parent352c83fb39cae3eff95a8e1ed23006291abb6196
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