diff options
author | Sam Payne <spayne@nvidia.com> | 2015-02-05 13:46:35 -0500 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:52:04 -0500 |
commit | 20a1ab078546c7206bb65ab007882195953df1dd (patch) | |
tree | 6fd94bc155f48dae9101ac0142a6e27375d8df0d /drivers/gpu/nvgpu/gp10b/hal_gp10b.c | |
parent | 3d08b0dc35cd94612d77aab7e348ae509cc096f2 (diff) |
gpu: nvgpu: gp10b: add ce interrupt support
ce interrupts use different register mapping
and format from gk20a and gm20b.
Change-Id: Icfe33bad940b2b829b6f57d07a3300adaf53d43c
Signed-off-by: Sam Payne <spayne@nvidia.com>
Reviewed-on: http://git-master/r/681646
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hal_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hal_gp10b.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c index 30b56a5c..c23c0f17 100644 --- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GP10B Tegra HAL interface | 2 | * GP10B Tegra HAL interface |
3 | * | 3 | * |
4 | * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
@@ -24,6 +24,7 @@ | |||
24 | #include "gp10b/mc_gp10b.h" | 24 | #include "gp10b/mc_gp10b.h" |
25 | #include "gp10b/ltc_gp10b.h" | 25 | #include "gp10b/ltc_gp10b.h" |
26 | #include "gp10b/mm_gp10b.h" | 26 | #include "gp10b/mm_gp10b.h" |
27 | #include "gp10b/ce2_gp10b.h" | ||
27 | #include "gp10b/fb_gp10b.h" | 28 | #include "gp10b/fb_gp10b.h" |
28 | #include "gp10b/pmu_gp10b.h" | 29 | #include "gp10b/pmu_gp10b.h" |
29 | #include "gp10b/gr_ctx_gp10b.h" | 30 | #include "gp10b/gr_ctx_gp10b.h" |
@@ -94,7 +95,8 @@ int gp10b_init_hal(struct gk20a *g) | |||
94 | gp10b_init_gr(gops); | 95 | gp10b_init_gr(gops); |
95 | gp10b_init_ltc(gops); | 96 | gp10b_init_ltc(gops); |
96 | gp10b_init_fb(gops); | 97 | gp10b_init_fb(gops); |
97 | gp10b_init_fifo(gops); | 98 | gm20b_init_fifo(gops); |
99 | gp10b_init_ce2(gops); | ||
98 | gp10b_init_gr_ctx(gops); | 100 | gp10b_init_gr_ctx(gops); |
99 | gp10b_init_mm(gops); | 101 | gp10b_init_mm(gops); |
100 | gp10b_init_pmu_ops(gops); | 102 | gp10b_init_pmu_ops(gops); |