diff options
author | Lukasz Luba <lukasz.luba@arm.com> | 2021-01-27 13:51:21 +0300 |
---|---|---|
committer | Qiang Yu <yuq825@gmail.com> | 2021-02-07 15:54:57 +0300 |
commit | 904beebb3eb501e473d23f59de9c2d5173564a24 (patch) | |
tree | 0a46d2d11e4cf4b826735e8ca88a829fb7c89b23 /drivers/gpu/drm/lima | |
parent | 0c9d59c3dbcfb6a5871c03d34f4d22cd3d3de41f (diff) | |
download | linux-904beebb3eb501e473d23f59de9c2d5173564a24.tar.xz |
drm/lima: Use delayed timer as default in devfreq profile
Devfreq framework supports 2 modes for monitoring devices.
Use delayed timer as default instead of deferrable timer
in order to monitor the GPU status regardless of CPU idle.
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210127105121.20345-1-lukasz.luba@arm.com
Diffstat (limited to 'drivers/gpu/drm/lima')
-rw-r--r-- | drivers/gpu/drm/lima/lima_devfreq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/lima/lima_devfreq.c b/drivers/gpu/drm/lima/lima_devfreq.c index 5686ad4aaf7c..f1c9eb3e71bd 100644 --- a/drivers/gpu/drm/lima/lima_devfreq.c +++ b/drivers/gpu/drm/lima/lima_devfreq.c @@ -81,6 +81,7 @@ static int lima_devfreq_get_dev_status(struct device *dev, } static struct devfreq_dev_profile lima_devfreq_profile = { + .timer = DEVFREQ_TIMER_DELAYED, .polling_ms = 50, /* ~3 frames */ .target = lima_devfreq_target, .get_dev_status = lima_devfreq_get_dev_status, |