aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Bakita <bakitajoshua@gmail.com>2024-09-25 15:58:37 -0400
committerJoshua Bakita <bakitajoshua@gmail.com>2024-09-25 15:58:37 -0400
commit8340d234d78a7d0f46c11a584de538148b78b7cb (patch)
tree4837d0debd711fbe7a5cd292c2606b8c1e5d50aa /Makefile
parente2fe4cb56e6252b9cf0b43c6180efbb20a168ce0 (diff)
Remove dependency on Jetson (nvgpu) driver internals
For integrated (Jetson) GPUs: - Directly retrieve and map GPU register region 0 - Directly check GPU power-on state before a register read/write - Resume the GPU as needed for a register read/write Most nvgpu APIs can now be called on TX2+ integrated GPUs without first having to start some task on the GPU to make it non-suspended. Tested on Jetson TX1, TX2, Xavier, and Orin.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 0 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 972bc0b..fea3819 100644
--- a/Makefile
+++ b/Makefile
@@ -4,13 +4,6 @@ nvdebug-objs = runlist_procfs.o device_info_procfs.o runlist.o mmu.o \
4KBUILD_CFLAGS += -DGIT_HASH=\"$(shell git --git-dir=$(PWD)/.git rev-parse --short HEAD)\" 4KBUILD_CFLAGS += -DGIT_HASH=\"$(shell git --git-dir=$(PWD)/.git rev-parse --short HEAD)\"
5# -mfentry above if not building due to mcount missing 5# -mfentry above if not building due to mcount missing
6 6
7# TODO: Avoid needing to distribute NVIDIA's headers (at least they're MIT...)
8ccflags-y += -I$(PWD)/include
9#ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/drivers/gpu/nvgpu/include
10#ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/drivers/gpu/nvgpu
11#ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/include
12#ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/include/uapi
13
14all: 7all:
15 make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules 8 make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
16clean: 9clean: