mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
nvgpu: use kernel overlay features
Update all Kconfig files and Makefiles to rely on the kernel overlay feature. In particular, don't include any Kconfig files or Makefiles from other overlays. -I directives in CFLAGS are not yet cleaned up. Bug 1978395 Change-Id: I449ed2f07949785f2dd90a6833f4d8cd1711519a Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1566641 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
0a93373364
commit
f01fe2bb39
5
drivers/Kconfig
Normal file
5
drivers/Kconfig
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
append_menu "Device Drivers"
|
||||||
|
|
||||||
|
source "drivers/gpu/nvgpu/Kconfig"
|
||||||
|
|
||||||
|
endmenu
|
||||||
1
drivers/gpu/Makefile
Normal file
1
drivers/gpu/Makefile
Normal file
@@ -0,0 +1 @@
|
|||||||
|
obj-$(CONFIG_GK20A) += nvgpu/
|
||||||
@@ -136,5 +136,3 @@ config GK20A_VIDMEM
|
|||||||
Enable support for using and allocating buffers in a distinct video
|
Enable support for using and allocating buffers in a distinct video
|
||||||
memory aperture (in contrast to general system memory), available on
|
memory aperture (in contrast to general system memory), available on
|
||||||
GPUs that have their own banks. PCIe GPUs have this, for example.
|
GPUs that have their own banks. PCIe GPUs have this, for example.
|
||||||
|
|
||||||
trysource "../nvgpu-t19x/drivers/gpu/nvgpu/Kconfig"
|
|
||||||
@@ -256,12 +256,3 @@ nvgpu-$(CONFIG_TEGRA_GR_VIRTUALIZATION) += \
|
|||||||
vgpu/gp10b/vgpu_gr_gp10b.o \
|
vgpu/gp10b/vgpu_gr_gp10b.o \
|
||||||
vgpu/gp10b/vgpu_mm_gp10b.o
|
vgpu/gp10b/vgpu_mm_gp10b.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y)
|
|
||||||
ifneq ($(wildcard $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile),)
|
|
||||||
include $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile
|
|
||||||
endif
|
|
||||||
ifneq ($(wildcard $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile.nvgpu-t19x),)
|
|
||||||
include $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile.nvgpu-t19x
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
Reference in New Issue
Block a user