summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/pmu_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/pmu_gv11b.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c b/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c
index fe468f19..d20b9c1a 100644
--- a/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c
@@ -18,6 +18,9 @@
18 18
19#include <soc/tegra/fuse.h> 19#include <soc/tegra/fuse.h>
20 20
21#include <nvgpu/pmu.h>
22#include <nvgpu/falcon.h>
23
21#include "gk20a/gk20a.h" 24#include "gk20a/gk20a.h"
22 25
23#include "gp10b/pmu_gp10b.h" 26#include "gp10b/pmu_gp10b.h"
@@ -139,11 +142,7 @@ static int gv11b_pmu_bootstrap(struct nvgpu_pmu *pmu)
139 pwr_falcon_dmatrfcmd_ctxdma_f(GK20A_PMU_DMAIDX_UCODE)); 142 pwr_falcon_dmatrfcmd_ctxdma_f(GK20A_PMU_DMAIDX_UCODE));
140 } 143 }
141 144
142 gk20a_writel(g, pwr_falcon_bootvec_r(), 145 nvgpu_flcn_bootstrap(pmu->flcn, desc->bootloader_entry_point);
143 pwr_falcon_bootvec_vec_f(desc->bootloader_entry_point));
144
145 gk20a_writel(g, pwr_falcon_cpuctl_r(),
146 pwr_falcon_cpuctl_startcpu_f(1));
147 146
148 gk20a_writel(g, pwr_falcon_os_r(), desc->app_version); 147 gk20a_writel(g, pwr_falcon_os_r(), desc->app_version);
149 148