summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/Kconfig
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-10-23 08:13:08 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:11:50 -0400
commitcc8e05c21533769d78f098149edb02e1f4394398 (patch)
tree18a0d39ef5c7c20e61328cc3eaf279178581b043 /drivers/gpu/nvgpu/Kconfig
parentfcf4a107996af1be341952447b0237338c0b76ea (diff)
gpu: nvgpu: Fix build without Tegra clk framework
Do not build clock code if TEGRA_CLK_FRAMEWORK is not defined. Also make GK20A_DEVFREQ depend on TEGRA_CLK_FRAMEWORK, and build scaling governor only if GK20A_DEVFREQ is enabled. Bug 1567274 Change-Id: I6ea1462e7a110fb46c9d66ceda71167cff19699e Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/562475
Diffstat (limited to 'drivers/gpu/nvgpu/Kconfig')
-rw-r--r--drivers/gpu/nvgpu/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/Kconfig b/drivers/gpu/nvgpu/Kconfig
index 88c3130d..6797a719 100644
--- a/drivers/gpu/nvgpu/Kconfig
+++ b/drivers/gpu/nvgpu/Kconfig
@@ -44,6 +44,7 @@ config GK20A_PERFMON
44 decrease frequency if idle). 44 decrease frequency if idle).
45 45
46config GK20A_DEVFREQ 46config GK20A_DEVFREQ
47 depends on TEGRA_CLK_FRAMEWORK
47 bool "Use Devfreq" 48 bool "Use Devfreq"
48 help 49 help
49 Select this to use devfreq based scaling. 50 Select this to use devfreq based scaling.