gpu: nvgpu: Set default devfreq polling rate

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

Jira NVGPU-20

Change-Id: I994f3aab772b41c238f6755e0bd22ed3d4b27cf4
Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-on: https://git-master/r/1473141
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
Peter Boonstoppel
2017-05-01 10:24:52 -07:00
committed by mobile promotions
parent 635e9946b7
commit 5ad02b2d01

View File

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