diff --git a/drivers/gpu/nvgpu/Makefile.linux.configs b/drivers/gpu/nvgpu/Makefile.linux.configs index 9d9eb8a87..c38b3784e 100644 --- a/drivers/gpu/nvgpu/Makefile.linux.configs +++ b/drivers/gpu/nvgpu/Makefile.linux.configs @@ -75,7 +75,7 @@ CONFIG_NVGPU_FECS_TRACE := y # Enable support in GK20A for the nvhost (host1x) dma engine hardware # that includes things like hardware syncpts. This requires # TEGRA_GRHOST -ifeq ($(CONFIG_TEGRA_GRHOST),y) +ifdef CONFIG_TEGRA_GRHOST CONFIG_TEGRA_GK20A_NVHOST := y endif @@ -240,4 +240,4 @@ ccflags-y += -DCONFIG_NVGPU_SYNCFD_STABLE endif ifeq ($(CONFIG_NVGPU_SYNCFD_NONE),y) ccflags-y += -DCONFIG_NVGPU_SYNCFD_NONE -endif \ No newline at end of file +endif