summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorTejal Kudav <tkudav@nvidia.com>2018-08-08 04:36:08 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-08-17 16:54:12 -0400
commit9feeae658acc2c997ef05b669ace8a0621e68ebb (patch)
tree1dd22dfb5fc4fc8e286808c29fcf043edf9f4b10 /drivers/gpu/nvgpu/include
parent70c20bb75be7815ebc67ac82d6999f46bc25ed6d (diff)
gpu: nvgpu: Remove code to save hshub config regs
We do not use the stored hshub_config* register values. Remove these redundant fields from nvlink data structure too. This also allows us to not #include a FB hardware header in nvlink. JIRA NVGPU-966 Change-Id: I3be169a958ec17370b55889d1e1fbabb887a79fd Signed-off-by: Tejal Kudav <tkudav@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1794955 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> 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/nvlink.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/nvlink.h b/drivers/gpu/nvgpu/include/nvgpu/nvlink.h
index 9824e62b..aa1b62c5 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/nvlink.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/nvlink.h
@@ -216,12 +216,6 @@ struct nvgpu_nvlink_dev {
216 216
217 enum nvgpu_nvlink_speed speed; 217 enum nvgpu_nvlink_speed speed;
218 218
219 /* hshub settings */
220 u32 hshub_config0;
221 u32 hshub_config1;
222 u32 hshub_config2;
223 u32 hshub_config6;
224
225 /* tlc cached errors */ 219 /* tlc cached errors */
226 u32 tlc_rx_err_status_0[NVLINK_MAX_LINKS_SW]; 220 u32 tlc_rx_err_status_0[NVLINK_MAX_LINKS_SW];
227 u32 tlc_rx_err_status_1[NVLINK_MAX_LINKS_SW]; 221 u32 tlc_rx_err_status_1[NVLINK_MAX_LINKS_SW];