diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2015-12-29 03:23:46 -0500 |
---|---|---|
committer | Sachin Nikam <snikam@nvidia.com> | 2016-01-13 01:58:32 -0500 |
commit | ca76b336b32dce2e57034fbd44a273c539f67a54 (patch) | |
tree | ac0dadeb96f3c180a7a0bfcc51679858b2dedb95 /drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | |
parent | 0ce201e8de6a320b70f1f34d05202650b9b5a046 (diff) |
gpu: nvgpu: support preprocessing of SM exceptions
Support preprocessing of SM exceptions if API
pointer pre_process_sm_exception() is defined
Also, expose some common APIs
Bug 200156699
Change-Id: I1303642c1c4403c520b62efb6fd83e95eaeb519b
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/925883
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h index 6ba4153b..5305d007 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | * GK20A graphics fifo (gr host) | 4 | * GK20A graphics fifo (gr host) |
5 | * | 5 | * |
6 | * Copyright (c) 2011-2015, NVIDIA CORPORATION. All rights reserved. | 6 | * Copyright (c) 2011-2016, NVIDIA CORPORATION. All rights reserved. |
7 | * | 7 | * |
8 | * This program is free software; you can redistribute it and/or modify it | 8 | * This program is free software; you can redistribute it and/or modify it |
9 | * under the terms and conditions of the GNU General Public License, | 9 | * under the terms and conditions of the GNU General Public License, |
@@ -194,4 +194,6 @@ void gk20a_fifo_abort_tsg(struct gk20a *g, u32 tsgid); | |||
194 | bool gk20a_fifo_set_ctx_mmu_error_ch(struct gk20a *g, | 194 | bool gk20a_fifo_set_ctx_mmu_error_ch(struct gk20a *g, |
195 | struct channel_gk20a *ch); | 195 | struct channel_gk20a *ch); |
196 | 196 | ||
197 | struct channel_gk20a *gk20a_fifo_channel_from_hw_chid(struct gk20a *g, | ||
198 | u32 hw_chid); | ||
197 | #endif /*__GR_GK20A_H__*/ | 199 | #endif /*__GR_GK20A_H__*/ |