summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/Kconfig5
-rw-r--r--drivers/gpu/Makefile1
-rw-r--r--drivers/gpu/nvgpu/Kconfig (renamed from drivers/gpu/nvgpu/Kconfig.nvgpu)2
-rw-r--r--drivers/gpu/nvgpu/Makefile (renamed from drivers/gpu/nvgpu/Makefile.nvgpu)9
4 files changed, 6 insertions, 11 deletions
diff --git a/drivers/Kconfig b/drivers/Kconfig
new file mode 100644
index 00000000..d9c76e76
--- /dev/null
+++ b/drivers/Kconfig
@@ -0,0 +1,5 @@
1append_menu "Device Drivers"
2
3source "drivers/gpu/nvgpu/Kconfig"
4
5endmenu
diff --git a/drivers/gpu/Makefile b/drivers/gpu/Makefile
new file mode 100644
index 00000000..af71a62a
--- /dev/null
+++ b/drivers/gpu/Makefile
@@ -0,0 +1 @@
obj-$(CONFIG_GK20A) += nvgpu/
diff --git a/drivers/gpu/nvgpu/Kconfig.nvgpu b/drivers/gpu/nvgpu/Kconfig
index 2a922ba2..4f90a35c 100644
--- a/drivers/gpu/nvgpu/Kconfig.nvgpu
+++ b/drivers/gpu/nvgpu/Kconfig
@@ -136,5 +136,3 @@ config GK20A_VIDMEM
136 Enable support for using and allocating buffers in a distinct video 136 Enable support for using and allocating buffers in a distinct video
137 memory aperture (in contrast to general system memory), available on 137 memory aperture (in contrast to general system memory), available on
138 GPUs that have their own banks. PCIe GPUs have this, for example. 138 GPUs that have their own banks. PCIe GPUs have this, for example.
139
140trysource "../nvgpu-t19x/drivers/gpu/nvgpu/Kconfig"
diff --git a/drivers/gpu/nvgpu/Makefile.nvgpu b/drivers/gpu/nvgpu/Makefile
index 1217fead..af7a8af5 100644
--- a/drivers/gpu/nvgpu/Makefile.nvgpu
+++ b/drivers/gpu/nvgpu/Makefile
@@ -256,12 +256,3 @@ nvgpu-$(CONFIG_TEGRA_GR_VIRTUALIZATION) += \
256 vgpu/gp10b/vgpu_gr_gp10b.o \ 256 vgpu/gp10b/vgpu_gr_gp10b.o \
257 vgpu/gp10b/vgpu_mm_gp10b.o 257 vgpu/gp10b/vgpu_mm_gp10b.o
258endif 258endif
259
260ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y)
261ifneq ($(wildcard $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile),)
262include $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile
263endif
264ifneq ($(wildcard $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile.nvgpu-t19x),)
265include $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile.nvgpu-t19x
266endif
267endif