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/gk20a/gk20a.c | |
| 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/gk20a/gk20a.c')
| -rw-r--r-- | include/gk20a/gk20a.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/gk20a/gk20a.c b/include/gk20a/gk20a.c index c3068b7..1a11716 100644 --- a/include/gk20a/gk20a.c +++ b/include/gk20a/gk20a.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * GK20A Graphics | 2 | * GK20A Graphics |
| 3 | * | 3 | * |
| 4 | * Copyright (c) 2011-2020, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2011-2021, NVIDIA CORPORATION. All rights reserved. |
| 5 | * | 5 | * |
| 6 | * Permission is hereby granted, free of charge, to any person obtaining a | 6 | * Permission is hereby granted, free of charge, to any person obtaining a |
| 7 | * copy of this software and associated documentation files (the "Software"), | 7 | * copy of this software and associated documentation files (the "Software"), |
| @@ -39,6 +39,7 @@ | |||
| 39 | #include <nvgpu/therm.h> | 39 | #include <nvgpu/therm.h> |
| 40 | #include <nvgpu/mc.h> | 40 | #include <nvgpu/mc.h> |
| 41 | #include <nvgpu/channel_sync.h> | 41 | #include <nvgpu/channel_sync.h> |
| 42 | #include <nvgpu/nvgpu_err.h> | ||
| 42 | 43 | ||
| 43 | #include <trace/events/gk20a.h> | 44 | #include <trace/events/gk20a.h> |
| 44 | 45 | ||
| @@ -525,6 +526,10 @@ static void gk20a_free_cb(struct nvgpu_ref *refcount) | |||
| 525 | struct gk20a *g = container_of(refcount, | 526 | struct gk20a *g = container_of(refcount, |
| 526 | struct gk20a, refcount); | 527 | struct gk20a, refcount); |
| 527 | 528 | ||
| 529 | #ifdef CONFIG_NVGPU_SUPPORT_LINUX_ECC_ERROR_REPORTING | ||
| 530 | nvgpu_deinit_ecc_reporting(g); | ||
| 531 | #endif | ||
| 532 | |||
| 528 | nvgpu_log(g, gpu_dbg_shutdown, "Freeing GK20A struct!"); | 533 | nvgpu_log(g, gpu_dbg_shutdown, "Freeing GK20A struct!"); |
| 529 | 534 | ||
| 530 | gk20a_ce_destroy(g); | 535 | gk20a_ce_destroy(g); |
