[Freedreno] [PATCH 0/8] msm/gpu: devfreq support

Jordan Crouse jcrouse at codeaurora.org
Tue Nov 21 19:40:50 UTC 2017


Here is a stack of patches to enable devfreq support for Adreno GPUs.
This stack adds support for a5xx only, but it should be trivial to
add support for the other targets.  I'll send the DT changes 
separately.

Jordan Crouse (8):
  drm/msm/adreno: Call dev_pm_opp_put()
  drm/msm/adreno: Remove a useless call to dev_pm_opp_get_freq()
  drm/msm/gpu: Remove unused bus scaling code
  drm/msm/adreno: Cleanup chipid parsing
  drm/msm/adreno: Move clock parsing to adreno_gpu_init()
  drm/msm/adreno: Read the speed bins for a5xx targets
  drm/msm/adreno: a5xx: Explicitly program the CP0 performance counter
  drm/msm/gpu: Add devfreq support for the GPU

 drivers/gpu/drm/msm/adreno/a5xx_gpu.c      |  38 ++++++++++
 drivers/gpu/drm/msm/adreno/a5xx_power.c    |   8 ++-
 drivers/gpu/drm/msm/adreno/adreno_device.c | 112 ++++++-----------------------
 drivers/gpu/drm/msm/adreno/adreno_gpu.c    |  83 ++++++++++++++++++---
 drivers/gpu/drm/msm/adreno/adreno_gpu.h    |   4 --
 drivers/gpu/drm/msm/msm_gpu.c              | 105 ++++++++++++++++++++-------
 drivers/gpu/drm/msm/msm_gpu.h              |  14 ++--
 7 files changed, 225 insertions(+), 139 deletions(-)

-- 
1.9.1



More information about the Freedreno mailing list