summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu
diff options
context:
space:
mode:
authorPeter Boonstoppel <pboonstoppel@nvidia.com>2017-05-01 13:24:52 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-29 14:12:20 -0400
commit5ad02b2d0149a18f4d226c45f7b23d4e1b18695a (patch)
tree4756abf383b0ec4e42944663f5562ab9809283df /drivers/gpu/nvgpu
parent635e9946b718d9f0c35053b59c745ae529429f25 (diff)
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>
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a_scale.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_scale.c b/drivers/gpu/nvgpu/gk20a/gk20a_scale.c
index 636bfad4..6f4f7dc9 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a_scale.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a_scale.c
@@ -362,6 +362,7 @@ void gk20a_scale_init(struct device *dev)
362 profile->devfreq_profile.get_dev_status = 362 profile->devfreq_profile.get_dev_status =
363 gk20a_scale_get_dev_status; 363 gk20a_scale_get_dev_status;
364 profile->devfreq_profile.get_cur_freq = get_cur_freq; 364 profile->devfreq_profile.get_cur_freq = get_cur_freq;
365 profile->devfreq_profile.polling_ms = 25;
365 366
366 devfreq = devfreq_add_device(dev, 367 devfreq = devfreq_add_device(dev,
367 &profile->devfreq_profile, 368 &profile->devfreq_profile,