diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/hal_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index 0989e00a..cf669aa7 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -856,8 +856,10 @@ int gv11b_init_hal(struct gk20a *g) | |||
856 | __nvgpu_set_enabled(g, NVGPU_GR_USE_DMA_FOR_FW_BOOTSTRAP, false); | 856 | __nvgpu_set_enabled(g, NVGPU_GR_USE_DMA_FOR_FW_BOOTSTRAP, false); |
857 | 857 | ||
858 | /* Read fuses to check if gpu needs to boot in secure/non-secure mode */ | 858 | /* Read fuses to check if gpu needs to boot in secure/non-secure mode */ |
859 | if (gops->fuse.check_priv_security(g)) | 859 | if (gops->fuse.check_priv_security(g)) { |
860 | return -EINVAL; /* Do not boot gpu */ | 860 | /* Do not boot gpu */ |
861 | return -EINVAL; | ||
862 | } | ||
861 | 863 | ||
862 | /* priv security dependent ops */ | 864 | /* priv security dependent ops */ |
863 | if (nvgpu_is_enabled(g, NVGPU_SEC_PRIVSECURITY)) { | 865 | if (nvgpu_is_enabled(g, NVGPU_SEC_PRIVSECURITY)) { |