diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2015-12-24 07:58:53 -0500 |
---|---|---|
committer | Sachin Nikam <snikam@nvidia.com> | 2016-01-13 02:00:59 -0500 |
commit | 997f92566a9bfb4903490e79355f032597c92775 (patch) | |
tree | e54fceec845f255511c3782c78fa8bc96c101a58 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 43de9024fe1ceb204ec0802ffd442b2d30c90324 (diff) |
gpu: nvgpu: support masking hww_warp_esr
Add below API pointer to support masking of hww_warp_esr
after hardware read of register and before using it
further
u32 (*mask_hww_warp_esr)(u32 hww_warp_esr)
If needed, this API will mask value of hww_warp_esr
appropriately and return it
Bug 200156699
Change-Id: I1afb1347e650fab607009c1ee55691484653a4c1
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/927133
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 333f8889..2b4c3237 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -201,6 +201,7 @@ struct gpu_ops { | |||
201 | bool sm_debugger_attached, | 201 | bool sm_debugger_attached, |
202 | struct channel_gk20a *fault_ch, | 202 | struct channel_gk20a *fault_ch, |
203 | bool *early_exit, bool *ignore_debugger); | 203 | bool *early_exit, bool *ignore_debugger); |
204 | u32 (*mask_hww_warp_esr)(u32 hww_warp_esr); | ||
204 | } gr; | 205 | } gr; |
205 | const char *name; | 206 | const char *name; |
206 | struct { | 207 | struct { |