diff options
author | Rob Clark <robdclark@chromium.org> | 2021-11-20 23:01:01 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-11-21 23:56:30 +0300 |
commit | 26b6f1c870b81ce8a48751a21f363958d2c04cf2 (patch) | |
tree | adadb6c853d93ca246f2a848ea0895e4d687dc16 /drivers/gpu/drm/msm | |
parent | 9ba873e66ed317a1ff645d5e52c2e72597ff3d18 (diff) | |
download | linux-26b6f1c870b81ce8a48751a21f363958d2c04cf2.tar.xz |
drm/msm/gpu: Fix idle_work time
This was supposed to be a relative timer, not absolute.
Fixes: 658f4c829688 ("drm/msm/devfreq: Add 1ms delay before clamping freq")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20211120200103.1051459-1-robdclark@gmail.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm')
-rw-r--r-- | drivers/gpu/drm/msm/msm_gpu_devfreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_gpu_devfreq.c b/drivers/gpu/drm/msm/msm_gpu_devfreq.c index 3b129161c140..4beb42c31900 100644 --- a/drivers/gpu/drm/msm/msm_gpu_devfreq.c +++ b/drivers/gpu/drm/msm/msm_gpu_devfreq.c @@ -233,5 +233,5 @@ void msm_devfreq_idle(struct msm_gpu *gpu) struct msm_gpu_devfreq *df = &gpu->devfreq; msm_hrtimer_queue_work(&df->idle_work, ms_to_ktime(1), - HRTIMER_MODE_ABS); + HRTIMER_MODE_REL); } |