diff options
author | Rob Clark <robdclark@chromium.org> | 2021-10-18 18:36:25 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-10-19 00:31:57 +0300 |
commit | 5ca6779d2f18b195cb3b66a14a271911fc609094 (patch) | |
tree | 5e31692f35f27737b300d01d7fe866e737512523 /drivers/gpu/drm/msm/msm_gpu.h | |
parent | c8f01ffc83923a91e8087aaa077de13354a7aa59 (diff) | |
download | linux-5ca6779d2f18b195cb3b66a14a271911fc609094.tar.xz |
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.h | 4 |
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; |