summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2016-10-20 07:51:16 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-17 00:34:54 -0500
commitb5c31a23ca94f21c701680acba10528254523244 (patch)
treee243a722f096270e882e09584968ba280b5c9cf9 /drivers/gpu/nvgpu/gk20a/gk20a.h
parentc1ca73ca3417c7ecc7fb5916e1b9002ffd705aa6 (diff)
gpu: nvgpu: move freq clipping to target function
We right now obtain pm_qos frequency requirments in qos notifier callback gk20a_scale_qos_notify() But now we want to limit GPU frequencies based on frequency limited from devfreq nodes And devfreq requirement should precede over qos requirements Hence, move all frequency estimation and clipping to function gk20a_scale_target() which sets the frequency at the end Bug 200245796 Change-Id: I0572c676dce0acc0917924a11e4c0fb4a9db4e6e Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1243427 (cherry picked from commit 81c757a3232463d126aecba64ca0c55d8e4423d2) Reviewed-on: http://git-master/r/1239936 Reviewed-by: Aaron Huang <aaronh@nvidia.com> Tested-by: Aaron Huang <aaronh@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 07752d66..ffddebe7 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -936,8 +936,6 @@ struct gk20a {
936 wait_queue_head_t sw_irq_nonstall_last_handled_wq; 936 wait_queue_head_t sw_irq_nonstall_last_handled_wq;
937 937
938 struct devfreq *devfreq; 938 struct devfreq *devfreq;
939 u32 devfreq_max_freq;
940 u32 devfreq_min_freq;
941 939
942 struct gk20a_scale_profile *scale_profile; 940 struct gk20a_scale_profile *scale_profile;
943 941