]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5dfe1f53cb3a7c9bf3035cda3e26207808c8b6ea
tree8e95db69e22cdd7cd96135f4ac58f8a170265dfe
parent25d65e9593b56d2e63a638cf92f163c22c7ac30e
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