This series re-factors the devfreq code a bit in preparation for the upcoming A6x related devfreq changes. The code applies cleanly on 4.17 and has been verified on DB820C.
V2: Addressed code review comments from Jordan Crouse. V3: Added a new patch for devfreq cleanup.
Sharat Masetty (4): drm/msm: suspend devfreq on init drm/msm: move suspend/resume devfreq to their own functions drm/msm: re-factor devfreq code drm/msm: unregister devfreq upon clean up
drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 16 ++++++++--- drivers/gpu/drm/msm/msm_gpu.c | 50 +++++++++++++++++++++++------------ drivers/gpu/drm/msm/msm_gpu.h | 6 ++++- 3 files changed, 50 insertions(+), 22 deletions(-)
-- 1.9.1