summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_gpu.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2021-10-18 08:36:25 -0700
committerRob Clark <robdclark@chromium.org>2021-10-18 14:31:57 -0700
commit5ca6779d2f18b195cb3b66a14a271911fc609094 (patch)
tree5e31692f35f27737b300d01d7fe866e737512523 /drivers/gpu/drm/msm/msm_gpu.h
parentc8f01ffc83923a91e8087aaa077de13354a7aa59 (diff)
downloadlinux-stable-5ca6779d2f18b195cb3b66a14a271911fc609094.tar.gz
linux-stable-5ca6779d2f18b195cb3b66a14a271911fc609094.tar.bz2
linux-stable-5ca6779d2f18b195cb3b66a14a271911fc609094.zip
drm/msm/devfreq: Restrict idle clamping to a618 for now
Until we better understand the stability issues caused by frequent frequency changes, lets limit them to a618. Signed-off-by: Rob Clark <robdclark@chromium.org> Tested-by: John Stultz <john.stultz@linaro.org> Tested-by: Caleb Connolly <caleb.connolly@linaro.org> Link: https://lore.kernel.org/r/20211018153627.2787882-1-robdclark@gmail.com Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gpu.h')
-rw-r--r--drivers/gpu/drm/msm/msm_gpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_gpu.h b/drivers/gpu/drm/msm/msm_gpu.h
index 030f82f149c2..ee25d556c8a1 100644
--- a/drivers/gpu/drm/msm/msm_gpu.h
+++ b/drivers/gpu/drm/msm/msm_gpu.h
@@ -203,6 +203,10 @@ struct msm_gpu {
uint32_t suspend_count;
struct msm_gpu_state *crashstate;
+
+ /* Enable clamping to idle freq when inactive: */
+ bool clamp_to_idle;
+
/* True if the hardware supports expanded apriv (a650 and newer) */
bool hw_apriv;