diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2017-07-05 06:42:29 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-07-06 02:25:27 -0400 |
commit | 79a79b8ae6987e5620c9bc7ee080fe637a6ca57b (patch) | |
tree | 5e482d8d1a584e9496b2daa880adfd00b5f65ecb /drivers/gpu/nvgpu/gm20b/acr_gm20b.c | |
parent | 3afac13d66ee7026555c0b0558d898a4f189b051 (diff) |
gpu: nvgpu: falcon bootstrap support
- Added falcon interface/HAL to bootstrap
falcon by taking boot vector as parameter
- Replaced falcon bootstrap code in multiple
files with nvgpu_flcn_bootstrap() method
JIRA NVGPU-102
Change-Id: I4324824c50c6196d8b7ecf981f815ec778da2fd9
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: https://git-master/r/1513643
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/acr_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/acr_gm20b.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c index 3a638373..1bc51a7c 100644 --- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c | |||
@@ -1251,11 +1251,8 @@ static int bl_bootstrap(struct nvgpu_pmu *pmu, | |||
1251 | gm20b_dbg_pmu("Before starting falcon with BL\n"); | 1251 | gm20b_dbg_pmu("Before starting falcon with BL\n"); |
1252 | 1252 | ||
1253 | virt_addr = pmu_bl_gm10x_desc->bl_start_tag << 8; | 1253 | virt_addr = pmu_bl_gm10x_desc->bl_start_tag << 8; |
1254 | gk20a_writel(g, pwr_falcon_bootvec_r(), | ||
1255 | pwr_falcon_bootvec_vec_f(virt_addr)); | ||
1256 | 1254 | ||
1257 | gk20a_writel(g, pwr_falcon_cpuctl_r(), | 1255 | nvgpu_flcn_bootstrap(pmu->flcn, virt_addr); |
1258 | pwr_falcon_cpuctl_startcpu_f(1)); | ||
1259 | 1256 | ||
1260 | return 0; | 1257 | return 0; |
1261 | } | 1258 | } |