From e648ea1e0b659df19a8dd2fe3407cee311b8cf87 Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Tue, 27 Jun 2017 14:23:48 +0300 Subject: gpu: nvgpu: depend on gk20a for all configs Depend on the main GK20A config for all subitems so that they get grouped properly under the top level item in the menuconfig. Also remove an extraneous CONFIG_ to make the trace printk config visible in the menu when its deps are there. Change-Id: I03ee5b8dff9ad02342ab31d0faad9549e8352059 Signed-off-by: Konsta Holtta Reviewed-on: https://git-master/r/1509333 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/Kconfig.nvgpu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/gpu/nvgpu/Kconfig.nvgpu b/drivers/gpu/nvgpu/Kconfig.nvgpu index 73904a94..2a922ba2 100644 --- a/drivers/gpu/nvgpu/Kconfig.nvgpu +++ b/drivers/gpu/nvgpu/Kconfig.nvgpu @@ -104,6 +104,7 @@ config TEGRA_ACR config TEGRA_USE_NA_GPCPLL bool "Enable noise aware mode of GM20B GPCPLL on Tegra" + depends on GK20A depends on COMMON_CLK default n help @@ -121,7 +122,7 @@ config GK20A_PCI config GK20A_TRACE_PRINTK bool "Support trace_printk debugging" - depends on CONFIG_FTRACE_PRINTK + depends on GK20A && FTRACE_PRINTK default n help Enable nvgpu debug facility to redirect debug spew to ftrace. This -- cgit v1.2.2