aboutsummaryrefslogtreecommitdiffstats
path: root/nvdebug.h
diff options
context:
space:
mode:
authorJoshua Bakita <bakitajoshua@gmail.com>2023-10-29 13:07:40 -0400
committerJoshua Bakita <bakitajoshua@gmail.com>2023-10-29 13:10:52 -0400
commit2c5337a24f7f2d02989dfb733c55d6d8c7e90493 (patch)
treeb9f1028cb443b03190b710c0d7ee640bf5958631 /nvdebug.h
parentaa06f84f03cba7ad1aae5cd527355bb3d8c152a6 (diff)
Update includes to L4T r32.7.4 and drop nvgpu/gk20a.h dependency
Also add instructions for updating `include/`. These files are now only needed to build on Linux 4.9-based Tegra platforms.
Diffstat (limited to 'nvdebug.h')
-rw-r--r--nvdebug.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/nvdebug.h b/nvdebug.h
index 50230f7..e5b6564 100644
--- a/nvdebug.h
+++ b/nvdebug.h
@@ -9,13 +9,15 @@
9 * - Helper functions for nvdebug 9 * - Helper functions for nvdebug
10 */ 10 */
11 11
12// TODO(jbakita): Don't depend on these.
13#include <nvgpu/gk20a.h> // For struct gk20a
14#include <linux/proc_fs.h> // For PDE_DATA() macro 12#include <linux/proc_fs.h> // For PDE_DATA() macro
15#include <linux/device.h> // For dev_get_drvdata() 13#include <linux/device.h> // For dev_get_drvdata()
16#include <linux/version.h> // For KERNEL_VERSION and LINUX_VERSION_CODE 14#include <linux/version.h> // For KERNEL_VERSION and LINUX_VERSION_CODE
17#include <asm/io.h> 15#include <asm/io.h>
18 16
17// Fully defined in include/nvgpu/gk20a.h. We only pass around pointers to
18// this, so declare as incomplete type to avoid pulling in the nvgpu headers.
19struct gk20a;
20
19/* Runlist Channel 21/* Runlist Channel
20 A timeslice group (TSG) is composed of channels. Each channel is a FIFO queue 22 A timeslice group (TSG) is composed of channels. Each channel is a FIFO queue
21 of GPU commands. These commands are typically queued from userspace. 23 of GPU commands. These commands are typically queued from userspace.