projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14054f2
)
drm/panfrost: Use delayed timer as default in devfreq profile
author
Lukasz Luba
<lukasz.luba@arm.com>
Tue, 5 Jan 2021 16:41:11 +0000
(16:41 +0000)
committer
Steven Price
<steven.price@arm.com>
Wed, 13 Jan 2021 15:38:27 +0000
(15:38 +0000)
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>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20210105164111.30122-1-lukasz.luba@arm.com
drivers/gpu/drm/panfrost/panfrost_devfreq.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/panfrost/panfrost_devfreq.c
b/drivers/gpu/drm/panfrost/panfrost_devfreq.c
index
f44d28f
..
56b3f59
100644
(file)
--- a/
drivers/gpu/drm/panfrost/panfrost_devfreq.c
+++ b/
drivers/gpu/drm/panfrost/panfrost_devfreq.c
@@
-76,6
+76,7
@@
static int panfrost_devfreq_get_dev_status(struct device *dev,
}
static struct devfreq_dev_profile panfrost_devfreq_profile = {
+ .timer = DEVFREQ_TIMER_DELAYED,
.polling_ms = 50, /* ~3 frames */
.target = panfrost_devfreq_target,
.get_dev_status = panfrost_devfreq_get_dev_status,