@@ -26,19 +26,17 @@ config DRM_TEGRA
To compile this driver as a module, choose M here: the module
will be called tegra-drm.
-if DRM_TEGRA
-
config DRM_TEGRA_DEBUG
bool "NVIDIA Tegra DRM debug support"
+ depends on DRM_TEGRA
help
Say yes here to enable debugging support.
config DRM_TEGRA_STAGING
bool "Enable HOST1X interface"
+ depends on DRM_TEGRA
depends on STAGING
help
Say yes if HOST1X should be available for userspace DRM users.
If unsure, choose N.
-
-endif
@@ -17,14 +17,11 @@ config TEGRA_HOST1X
by host1x are referred to as clients. host1x includes some other
functionality, such as synchronization.
-if TEGRA_HOST1X
-
config TEGRA_HOST1X_FIREWALL
bool "Enable HOST1X security firewall"
+ depends on TEGRA_HOST1X
default y
help
Say yes if kernel should protect command streams from tampering.
If unsure, choose Y.
-
-endif
Because using the 'depends on' is easy to understand and more obvious. Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn> --- drivers/gpu/drm/tegra/Kconfig | 6 ++---- drivers/gpu/host1x/Kconfig | 5 +---- 2 files changed, 3 insertions(+), 8 deletions(-)