aboutsummaryrefslogtreecommitdiffstats
path: root/include/gk20a/gr_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gk20a/gr_gk20a.h')
-rw-r--r--include/gk20a/gr_gk20a.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/gk20a/gr_gk20a.h b/include/gk20a/gr_gk20a.h
index 08b81e8..2cd6a4f 100644
--- a/include/gk20a/gr_gk20a.h
+++ b/include/gk20a/gr_gk20a.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * GK20A Graphics Engine 2 * GK20A Graphics Engine
3 * 3 *
4 * Copyright (c) 2011-2018, 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"),
@@ -438,6 +438,7 @@ struct gr_gk20a {
438}; 438};
439 439
440void gk20a_fecs_dump_falcon_stats(struct gk20a *g); 440void gk20a_fecs_dump_falcon_stats(struct gk20a *g);
441void gk20a_gpccs_dump_falcon_stats(struct gk20a *g);
441 442
442/* contexts associated with a TSG */ 443/* contexts associated with a TSG */
443struct nvgpu_gr_ctx { 444struct nvgpu_gr_ctx {
@@ -602,7 +603,7 @@ u32 gk20a_gr_get_sm_no_lock_down_hww_global_esr_mask(struct gk20a *g);
602 if (g->support_pmu) {\ 603 if (g->support_pmu) {\
603 err = nvgpu_pg_elpg_disable(g);\ 604 err = nvgpu_pg_elpg_disable(g);\
604 if (err != 0) {\ 605 if (err != 0) {\
605 err = nvgpu_pg_elpg_enable(g); \ 606 (void)nvgpu_pg_elpg_enable(g); \
606 } \ 607 } \
607 } \ 608 } \
608 if (err == 0) { \ 609 if (err == 0) { \