diff options
author | Richard Zhao <rizhao@nvidia.com> | 2018-05-21 13:37:52 -0400 |
---|---|---|
committer | Tejal Kudav <tkudav@nvidia.com> | 2018-06-14 09:44:07 -0400 |
commit | c8c686f8554352fc209fda592ec3b490811532aa (patch) | |
tree | af0b2905f7398532a96e9873fe87352021b4deff /drivers/gpu/nvgpu/include | |
parent | 2ca8332eb7fd3a701dec04ecb6abf3587ca834e5 (diff) |
gpu: nvgpu: add fbpa ecc support
- add fbpa ecc counters
- add HALs for init_fbpa and fbpa_isr
Jira NVGPUT-69
Jira NVGPUT-68
Change-Id: I3c8fbb664a9b08ece23d860d84881d4860706f77
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1726307
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_mc_gp10b.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_mc_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_mc_gp10b.h index dbf0ce35..39c132ae 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_mc_gp10b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_mc_gp10b.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * Permission is hereby granted, free of charge, to any person obtaining a | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
5 | * copy of this software and associated documentation files (the "Software"), | 5 | * copy of this software and associated documentation files (the "Software"), |
@@ -88,6 +88,10 @@ static inline u32 mc_intr_replayable_fault_pending_f(void) | |||
88 | { | 88 | { |
89 | return 0x200U; | 89 | return 0x200U; |
90 | } | 90 | } |
91 | static inline u32 mc_intr_pfb_pending_f(void) | ||
92 | { | ||
93 | return 0x2000U; | ||
94 | } | ||
91 | static inline u32 mc_intr_pgraph_pending_f(void) | 95 | static inline u32 mc_intr_pgraph_pending_f(void) |
92 | { | 96 | { |
93 | return 0x1000U; | 97 | return 0x1000U; |