From 115ededce48a9c4e6ea751c8aa8fa5bb33844cfc Mon Sep 17 00:00:00 2001 From: chenzhen Date: Thu, 11 Aug 2016 16:15:38 +0800 Subject: [PATCH] MALI: midgard: rockchip: change devfreq_dvfs_interval to 20 ms Change-Id: I2ba7988bd08bb05661a324b66a27cf2028ebd5db Signed-off-by: chenzhen --- drivers/gpu/arm/midgard/backend/gpu/mali_kbase_devfreq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_devfreq.c b/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_devfreq.c index 86227d996257..61d3eac6e230 100644 --- a/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_devfreq.c +++ b/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_devfreq.c @@ -205,7 +205,8 @@ int kbase_devfreq_init(struct kbase_device *kbdev) dp = &kbdev->devfreq_profile; dp->initial_freq = kbdev->current_freq; - dp->polling_ms = 100; + /* .KP : set devfreq_dvfs_interval_in_ms */ + dp->polling_ms = 20; dp->target = kbase_devfreq_target; dp->get_dev_status = kbase_devfreq_status; dp->get_cur_freq = kbase_devfreq_cur_freq; -- 2.34.1