diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2017-06-28 06:53:18 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-07-03 06:16:55 -0400 |
commit | 2f712e22303471b8dd2f9388c874d12b07aed258 (patch) | |
tree | c6898c29860abc2970028fd6da60002819fb6488 /drivers/gpu/nvgpu/gp106/hal_gp106.c | |
parent | d2486cf1b1d0b0e3306ba6eb0a8b6573fa27d03e (diff) |
gpu: nvgpu: falcon HAL to support SEC2
- Updated falcon controller HAL to support SEC2 falcon
& used "is_falcon_supported" flag to know the support on chip.
- Created falcon HAL flcn_gp106.c/h under gp106 to enable
support for SEC2 & inherited gk20a flcn support.
- Deleted SEC2 falcon related methods to make use of
generic flacon controller methods for SEC2.
- GP106 SEC2 code cleanup
NVPU JIRA-99
Change-Id: I846e8015ed33554b3d8a45795314f1d28eee482f
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: https://git-master/r/1510200
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/hal_gp106.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index 3f0a9a98..69516d22 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include "gk20a/css_gr_gk20a.h" | 18 | #include "gk20a/css_gr_gk20a.h" |
19 | #include "gk20a/bus_gk20a.h" | 19 | #include "gk20a/bus_gk20a.h" |
20 | #include "gk20a/pramin_gk20a.h" | 20 | #include "gk20a/pramin_gk20a.h" |
21 | #include "gk20a/flcn_gk20a.h" | ||
22 | 21 | ||
23 | #include "gp10b/ltc_gp10b.h" | 22 | #include "gp10b/ltc_gp10b.h" |
24 | #include "gp10b/gr_gp10b.h" | 23 | #include "gp10b/gr_gp10b.h" |
@@ -51,6 +50,7 @@ | |||
51 | #include "gp106/gr_gp106.h" | 50 | #include "gp106/gr_gp106.h" |
52 | #include "gp106/fb_gp106.h" | 51 | #include "gp106/fb_gp106.h" |
53 | #include "gp106/gp106_gating_reglist.h" | 52 | #include "gp106/gp106_gating_reglist.h" |
53 | #include "gp106/flcn_gp106.h" | ||
54 | 54 | ||
55 | #include "hal_gp106.h" | 55 | #include "hal_gp106.h" |
56 | 56 | ||
@@ -264,7 +264,7 @@ int gp106_init_hal(struct gk20a *g) | |||
264 | gp10b_init_ce(gops); | 264 | gp10b_init_ce(gops); |
265 | gp106_init_gr_ctx(gops); | 265 | gp106_init_gr_ctx(gops); |
266 | gp106_init_mm(gops); | 266 | gp106_init_mm(gops); |
267 | gk20a_falcon_init_hal(gops); | 267 | gp106_falcon_init_hal(gops); |
268 | gp106_init_pmu_ops(gops); | 268 | gp106_init_pmu_ops(gops); |
269 | gk20a_init_debug_ops(gops); | 269 | gk20a_init_debug_ops(gops); |
270 | gk20a_init_dbg_session_ops(gops); | 270 | gk20a_init_dbg_session_ops(gops); |