gpu: nvgpu: Set default devfreq polling rate

Sets default polling rate for GPU podgov governor to 25ms.

Jira NVGPU-20

Change-Id: I994f3aab772b41c238f6755e0bd22ed3d4b27cf4
Reviewed-on: https://git-master/r/1473141
(cherry picked from commit 5ad02b2d01)
Signed-off-by: Jon McCaffrey <jmccaffrey@nvidia.com>
Signed-off-by: Arun Kannan <akannan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1619233
GVS: Gerrit_Virtual_Submit
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Hayden Du <haydend@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Peter Boonstoppel
2017-05-01 10:24:52 -07:00
committed by mobile promotions
parent 793f7deb94
commit 92634f615f

View File

@@ -393,6 +393,7 @@ void gk20a_scale_init(struct device *dev)
profile->devfreq_profile.get_dev_status =
gk20a_scale_get_dev_status;
profile->devfreq_profile.get_cur_freq = get_cur_freq;
profile->devfreq_profile.polling_ms = 25;
devfreq = devfreq_add_device(dev,
&profile->devfreq_profile,