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>
This commit is contained in:
Mikko Perttunen
2018-08-01 16:18:57 +03:00
committed by mobile promotions
parent d28a401e6d
commit f3c3e4dece

View File

@@ -21,7 +21,7 @@ choice
Select this entry to enable gk20a scaling
config GK20A_DEVFREQ
depends on COMMON_CLK
depends on COMMON_CLK && PM_DEVFREQ
bool "Use Devfreq"
help
Select this to use devfreq based scaling.