summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/hw_fuse_gm20b.h
diff options
context:
space:
mode:
authorSupriya <ssharatkumar@nvidia.com>2016-03-21 08:09:48 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-04-06 22:38:19 -0400
commitbf82cd220a1ea4f8e327bc9bae51e36669c43778 (patch)
tree6f44623e05efc4aab7654fb106dc3b82472863f6 /drivers/gpu/nvgpu/gm20b/hw_fuse_gm20b.h
parent135d6db448cfaf5a366e6572f1a02a67e35d70db (diff)
gpu: nvgpu: Add Fuse prints on PMU Halt
-Print fuse values in case of PMU halt error -and mailbox reads 0xDEADDEAD Bug 1737044 Change-Id: I59f5fcf4a69bdd2a2eea81a69dd99bb9c4c21e1d Signed-off-by: Supriya <ssharatkumar@nvidia.com> Reviewed-on: http://git-master/r/1113464 (cherry picked from commit d0320eed72c5070c4fcc7564c02fa38599984751) Reviewed-on: http://git-master/r/1120429 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hw_fuse_gm20b.h')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hw_fuse_gm20b.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_fuse_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_fuse_gm20b.h
index a36709e3..62f68378 100644
--- a/drivers/gpu/nvgpu/gm20b/hw_fuse_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/hw_fuse_gm20b.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -126,4 +126,12 @@ static inline u32 fuse_status_opt_fbp_idx_v(u32 r, u32 i)
126{ 126{
127 return (r >> (0 + i*0)) & 0x1; 127 return (r >> (0 + i*0)) & 0x1;
128} 128}
129static inline u32 fuse_opt_sec_debug_en_r(void)
130{
131 return 0x00021218;
132}
133static inline u32 fuse_opt_priv_sec_en_r(void)
134{
135 return 0x00021434;
136}
129#endif 137#endif