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. --- include/os/posix/nvgpu.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'include/os/posix') diff --git a/include/os/posix/nvgpu.c b/include/os/posix/nvgpu.c index e485ed7..5b68113 100644 --- a/include/os/posix/nvgpu.c +++ b/include/os/posix/nvgpu.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -36,6 +36,22 @@ #include "os_posix.h" +int nvgpu_wait_for_stall_interrupts(struct gk20a *g, u32 timeout) +{ + /* + * No interrupts in userspace so nothing to wait for. + */ + return 0; +} + +int nvgpu_wait_for_nonstall_interrupts(struct gk20a *g, u32 timeout) +{ + /* + * No interrupts in userspace so nothing to wait for. + */ + return 0; +} + void nvgpu_wait_for_deferred_interrupts(struct gk20a *g) { /* -- cgit v1.2.2