diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-05-01 18:31:00 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-12 13:19:52 -0400 |
commit | a8cf64019f74dd05626a911af3df079efd9c7c89 (patch) | |
tree | b88b450a989a13cb4cbd0f831cd7add30c4ef0c4 /drivers/gpu/nvgpu/gp106 | |
parent | 5a4926f2918b84fccefb8ddf6dbaa7b6449735bf (diff) |
gpu: nvgpu: Introduce priv ring HAL and define ISR
Introduce a priv ring HAL and define ISR as the only function in it.
Introduce a gp10b version of the ISR that writes error message to
UART for every priv ring error, and leave the old chips with silent
error handling.
Bug 1846641
Change-Id: I73e38396205ac7bb7b8488b7fbca3ff67a3db3bb
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1473696
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/hal_gp106.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index e39843ac..3f64283a 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include "gp10b/ce_gp10b.h" | 27 | #include "gp10b/ce_gp10b.h" |
28 | #include "gp10b/regops_gp10b.h" | 28 | #include "gp10b/regops_gp10b.h" |
29 | #include "gp10b/cde_gp10b.h" | 29 | #include "gp10b/cde_gp10b.h" |
30 | #include "gp10b/priv_ring_gp10b.h" | ||
30 | 31 | ||
31 | #include "gp106/fifo_gp106.h" | 32 | #include "gp106/fifo_gp106.h" |
32 | #include "gp106/regops_gp106.h" | 33 | #include "gp106/regops_gp106.h" |
@@ -232,6 +233,7 @@ int gp106_init_hal(struct gk20a *g) | |||
232 | gops->pmupstate = true; | 233 | gops->pmupstate = true; |
233 | gk20a_init_bus(gops); | 234 | gk20a_init_bus(gops); |
234 | gp10b_init_mc(gops); | 235 | gp10b_init_mc(gops); |
236 | gp10b_init_priv_ring(gops); | ||
235 | gp106_init_gr(gops); | 237 | gp106_init_gr(gops); |
236 | gp10b_init_fecs_trace_ops(gops); | 238 | gp10b_init_fecs_trace_ops(gops); |
237 | gp106_init_ltc(gops); | 239 | gp106_init_ltc(gops); |