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/gk20a/gk20a.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/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 9452e153..380c28ac 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -176,6 +176,7 @@ int gk20a_finalize_poweron(struct gk20a *g) | |||
176 | 176 | ||
177 | /* init interface layer support for PMU falcon */ | 177 | /* init interface layer support for PMU falcon */ |
178 | nvgpu_flcn_sw_init(g, FALCON_ID_PMU); | 178 | nvgpu_flcn_sw_init(g, FALCON_ID_PMU); |
179 | nvgpu_flcn_sw_init(g, FALCON_ID_SEC2); | ||
179 | 180 | ||
180 | if (g->ops.bios_init) | 181 | if (g->ops.bios_init) |
181 | err = g->ops.bios_init(g); | 182 | err = g->ops.bios_init(g); |