From 2c5337a24f7f2d02989dfb733c55d6d8c7e90493 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Sun, 29 Oct 2023 13:07:40 -0400 Subject: 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. --- nvdebug.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'nvdebug.h') diff --git a/nvdebug.h b/nvdebug.h index 50230f7..e5b6564 100644 --- a/nvdebug.h +++ b/nvdebug.h @@ -9,13 +9,15 @@ * - Helper functions for nvdebug */ -// TODO(jbakita): Don't depend on these. -#include // For struct gk20a #include // For PDE_DATA() macro #include // For dev_get_drvdata() #include // For KERNEL_VERSION and LINUX_VERSION_CODE #include +// Fully defined in include/nvgpu/gk20a.h. We only pass around pointers to +// this, so declare as incomplete type to avoid pulling in the nvgpu headers. +struct gk20a; + /* Runlist Channel A timeslice group (TSG) is composed of channels. Each channel is a FIFO queue of GPU commands. These commands are typically queued from userspace. -- cgit v1.2.2