diff options
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c index 6bf0ed27..1256d4a6 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c | |||
@@ -666,9 +666,11 @@ static int gr_gm20b_load_ctxsw_ucode_segments(struct gk20a *g, u64 addr_base, | |||
666 | gk20a_writel(g, reg_offset + gr_fecs_bootvec_r(), | 666 | gk20a_writel(g, reg_offset + gr_fecs_bootvec_r(), |
667 | gr_fecs_bootvec_vec_f(segments->boot_entry)); | 667 | gr_fecs_bootvec_vec_f(segments->boot_entry)); |
668 | 668 | ||
669 | /* Write to CPUCTL to start the falcon */ | 669 | /* start the falcon immediately if PRIV security is disabled*/ |
670 | gk20a_writel(g, reg_offset + gr_fecs_cpuctl_r(), | 670 | if (!g->ops.privsecurity) { |
671 | gr_fecs_cpuctl_startcpu_f(0x01)); | 671 | gk20a_writel(g, reg_offset + gr_fecs_cpuctl_r(), |
672 | gr_fecs_cpuctl_startcpu_f(0x01)); | ||
673 | } | ||
672 | 674 | ||
673 | return 0; | 675 | return 0; |
674 | } | 676 | } |