drm: msm: a6xx: send opp instead of a frequency
authorSharat Masetty <smasetty@codeaurora.org>
Mon, 13 Jul 2020 12:41:42 +0000 (18:11 +0530)
committerRob Clark <robdclark@chromium.org>
Fri, 31 Jul 2020 13:46:15 +0000 (06:46 -0700)
commit1f60d11423db7152508f965fcf2db13a1094f7f3
tree8e95db69e22cdd7cd96135f4ac58f8a170265dfe
parent369c4ef4330f395835f63fe62e4110f4608c9459
drm: msm: a6xx: send opp instead of a frequency

This patch changes the plumbing to send the devfreq recommended opp rather
than the frequency. Also consolidate and rearrange the code in a6xx to set
the GPU frequency and the icc vote in preparation for the upcoming
changes for GPU->DDR scaling votes.

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
drivers/gpu/drm/msm/adreno/a6xx_gpu.h
drivers/gpu/drm/msm/msm_gpu.c
drivers/gpu/drm/msm/msm_gpu.h