]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: suspend devfreq on init
authorSharat Masetty <smasetty@codeaurora.org>
Thu, 4 Oct 2018 09:41:40 +0000 (15:11 +0530)
committerRob Clark <robdclark@gmail.com>
Thu, 4 Oct 2018 13:14:20 +0000 (09:14 -0400)
commit3b1c3804fb4912a5d96b50c9854fb45cb095bea4
tree83e74d8540c47035fd7c40b6dfd950e6b66a29dc
parent17589b1347e21957925566814f953d34b28d4888
drm/msm: suspend devfreq on init

Devfreq turns on and starts recommending power level as soon as it is
initialized. The GPU is still not powered on by the time the devfreq
init happens and this leads to problems on GPU's where register access
is needed to get/set power levels. So we start suspended and only restart
devfreq when GPU is powered on.

Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_gpu.c