mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-11 23:48:30 +00:00
* Change DEV to EDGE * Renaming patches dev folder to edge * Move patches into subdir where they will be archived. * Relink patch directories properly
30 lines
1 KiB
Diff
30 lines
1 KiB
Diff
From 2477e73927c050f4ad049d44a0052c815ba746a9 Mon Sep 17 00:00:00 2001
|
|
From: Lukasz Luba <lukasz.luba@arm.com>
|
|
Date: Wed, 27 Jan 2021 11:36:36 +0000
|
|
Subject: [PATCH 13/58] FROMLIST(v1): 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>
|
|
---
|
|
drivers/gpu/drm/lima/lima_devfreq.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/gpu/drm/lima/lima_devfreq.c b/drivers/gpu/drm/lima/lima_devfreq.c
|
|
index c9854315a0b5..4f64940b9055 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,
|
|
--
|
|
2.25.1
|
|
|