diff options
| author | Joshua Bakita <bakitajoshua@gmail.com> | 2023-10-29 13:07:40 -0400 |
|---|---|---|
| committer | Joshua Bakita <bakitajoshua@gmail.com> | 2023-10-29 13:10:52 -0400 |
| commit | 2c5337a24f7f2d02989dfb733c55d6d8c7e90493 (patch) | |
| tree | b9f1028cb443b03190b710c0d7ee640bf5958631 /include/os/posix | |
| parent | aa06f84f03cba7ad1aae5cd527355bb3d8c152a6 (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 'include/os/posix')
| -rw-r--r-- | include/os/posix/nvgpu.c | 18 |
1 files changed, 17 insertions, 1 deletions
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 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved. |
| 3 | * | 3 | * |
| 4 | * Permission is hereby granted, free of charge, to any person obtaining a | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
| 5 | * copy of this software and associated documentation files (the "Software"), | 5 | * copy of this software and associated documentation files (the "Software"), |
| @@ -36,6 +36,22 @@ | |||
| 36 | 36 | ||
| 37 | #include "os_posix.h" | 37 | #include "os_posix.h" |
| 38 | 38 | ||
| 39 | int nvgpu_wait_for_stall_interrupts(struct gk20a *g, u32 timeout) | ||
| 40 | { | ||
| 41 | /* | ||
| 42 | * No interrupts in userspace so nothing to wait for. | ||
| 43 | */ | ||
| 44 | return 0; | ||
| 45 | } | ||
| 46 | |||
| 47 | int nvgpu_wait_for_nonstall_interrupts(struct gk20a *g, u32 timeout) | ||
| 48 | { | ||
| 49 | /* | ||
| 50 | * No interrupts in userspace so nothing to wait for. | ||
| 51 | */ | ||
| 52 | return 0; | ||
| 53 | } | ||
| 54 | |||
| 39 | void nvgpu_wait_for_deferred_interrupts(struct gk20a *g) | 55 | void nvgpu_wait_for_deferred_interrupts(struct gk20a *g) |
| 40 | { | 56 | { |
| 41 | /* | 57 | /* |
