diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2018-08-01 09:18:57 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-08-22 20:30:42 -0400 |
commit | f3c3e4dece89c5e2f77fbfaf3cacd877ba62406c (patch) | |
tree | 164e081200929aa58a133570c7943e37b4e16814 /drivers/gpu/nvgpu/Kconfig | |
parent | d28a401e6d872f7ea6abb0c5cfc8f63e0235fe21 (diff) |
gpu: nvgpu: Depend on PM_DEVFREQ if GK20A_DEVFREQ is selected
The GK20A_DEVFREQ requires the kernel devfreq framework (PM_DEVFREQ) to
be enabled. Specify this in the Kconfig file.
bug 200434446
Change-Id: I9abff330a064ec2835a8a013ea6b9e4ebc6534f1
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1790315
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-by: Timo Alho <talho@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Kconfig')
-rw-r--r-- | drivers/gpu/nvgpu/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/Kconfig b/drivers/gpu/nvgpu/Kconfig index 0c78f67f..bbd5f6f0 100644 --- a/drivers/gpu/nvgpu/Kconfig +++ b/drivers/gpu/nvgpu/Kconfig | |||
@@ -21,7 +21,7 @@ choice | |||
21 | Select this entry to enable gk20a scaling | 21 | Select this entry to enable gk20a scaling |
22 | 22 | ||
23 | config GK20A_DEVFREQ | 23 | config GK20A_DEVFREQ |
24 | depends on COMMON_CLK | 24 | depends on COMMON_CLK && PM_DEVFREQ |
25 | bool "Use Devfreq" | 25 | bool "Use Devfreq" |
26 | help | 26 | help |
27 | Select this to use devfreq based scaling. | 27 | Select this to use devfreq based scaling. |