summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/hw_mc_gm20b.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-09-02 03:38:55 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:11:07 -0400
commit7f6bf042d8c7e3ffb97f4ff7ddb4b9b4b5b8a4b8 (patch)
tree30f8c080581c88ef920159092a5fd73661929b84 /drivers/gpu/nvgpu/gm20b/hw_mc_gm20b.h
parent878560a549cca2c0b67ebe074cd485b8df7db64f (diff)
gpu: nvgpu: Fix and enable L2 error processing
Fix L2 error processing to look into interrupts in each L2 and slice. Enable L2 error interrupts. Bug 1549451 Change-Id: If6dd77f1333426a10b6a148c9432c12df8d879c7 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/494656 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hw_mc_gm20b.h')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hw_mc_gm20b.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_mc_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_mc_gm20b.h
index e978adf2..1b741677 100644
--- a/drivers/gpu/nvgpu/gm20b/hw_mc_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/hw_mc_gm20b.h
@@ -186,6 +186,10 @@ static inline u32 mc_enable_hub_enabled_f(void)
186{ 186{
187 return 0x20000000; 187 return 0x20000000;
188} 188}
189static inline u32 mc_intr_ltc_r(void)
190{
191 return 0x0000017c;
192}
189static inline u32 mc_enable_pb_r(void) 193static inline u32 mc_enable_pb_r(void)
190{ 194{
191 return 0x00000204; 195 return 0x00000204;