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/sec2_gp106.h | |
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/sec2_gp106.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/sec2_gp106.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gp106/sec2_gp106.h b/drivers/gpu/nvgpu/gp106/sec2_gp106.h index e3da0abf..90dfc372 100644 --- a/drivers/gpu/nvgpu/gp106/sec2_gp106.h +++ b/drivers/gpu/nvgpu/gp106/sec2_gp106.h | |||
@@ -16,14 +16,11 @@ | |||
16 | 16 | ||
17 | int sec2_clear_halt_interrupt_status(struct gk20a *g, unsigned int timeout); | 17 | int sec2_clear_halt_interrupt_status(struct gk20a *g, unsigned int timeout); |
18 | int sec2_wait_for_halt(struct gk20a *g, unsigned int timeout); | 18 | int sec2_wait_for_halt(struct gk20a *g, unsigned int timeout); |
19 | void sec2_copy_to_dmem(struct nvgpu_pmu *pmu, | ||
20 | u32 dst, u8 *src, u32 size, u8 port); | ||
21 | void sec2_dump_falcon_stats(struct nvgpu_pmu *pmu); | ||
22 | int bl_bootstrap_sec2(struct nvgpu_pmu *pmu, | 19 | int bl_bootstrap_sec2(struct nvgpu_pmu *pmu, |
23 | void *desc, u32 bl_sz); | 20 | void *desc, u32 bl_sz); |
24 | void sec_enable_irq(struct nvgpu_pmu *pmu, bool enable); | ||
25 | void init_pmu_setup_hw1(struct gk20a *g); | 21 | void init_pmu_setup_hw1(struct gk20a *g); |
26 | int init_sec2_setup_hw1(struct gk20a *g, | 22 | int init_sec2_setup_hw1(struct gk20a *g, |
27 | void *desc, u32 bl_sz); | 23 | void *desc, u32 bl_sz); |
24 | int gp106_sec2_reset(struct gk20a *g); | ||
28 | 25 | ||
29 | #endif /*__SEC2_H_*/ | 26 | #endif /*__SEC2_H_*/ |