diff options
author | Rob Clark <robdclark@chromium.org> | 2021-07-26 17:46:48 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-07-28 03:54:36 +0300 |
commit | af5b4fff0fe80c8a43fa218e10c55ab8d2ff4dcb (patch) | |
tree | 794c8612611e3944e1d952b86dc3d52f03bfef79 /drivers/gpu/drm/msm/adreno/a6xx_gpu.c | |
parent | 298287f6e79a8a695d9e3a8a0b040f13d0805c77 (diff) | |
download | linux-af5b4fff0fe80c8a43fa218e10c55ab8d2ff4dcb.tar.xz |
drm/msm: Split out devfreq handling
Before we start adding more cleverness, split it into it's own file.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20210726144653.2180096-2-robdclark@gmail.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/adreno/a6xx_gpu.c')
-rw-r--r-- | drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gpu.c b/drivers/gpu/drm/msm/adreno/a6xx_gpu.c index 9c5e4618aa0a..bf9d29f7dadd 100644 --- a/drivers/gpu/drm/msm/adreno/a6xx_gpu.c +++ b/drivers/gpu/drm/msm/adreno/a6xx_gpu.c @@ -1477,7 +1477,7 @@ static int a6xx_pm_resume(struct msm_gpu *gpu) if (ret) return ret; - msm_gpu_resume_devfreq(gpu); + msm_devfreq_resume(gpu); a6xx_llc_activate(a6xx_gpu); @@ -1494,7 +1494,7 @@ static int a6xx_pm_suspend(struct msm_gpu *gpu) a6xx_llc_deactivate(a6xx_gpu); - devfreq_suspend_device(gpu->devfreq.devfreq); + msm_devfreq_suspend(gpu); ret = a6xx_gmu_stop(a6xx_gpu); if (ret) |