From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jordan Crouse Subject: [PATCH 0/8] msm/gpu: devfreq support Date: Tue, 21 Nov 2017 12:40:50 -0700 Message-ID: <1511293258-12415-1-git-send-email-jcrouse@codeaurora.org> Return-path: Sender: linux-arm-msm-owner@vger.kernel.org To: freedreno@lists.freedesktop.org Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org 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