diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hal_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hal_gm20b.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c index acdf4591..27daccb6 100644 --- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c | |||
@@ -716,8 +716,9 @@ int gm20b_init_hal(struct gk20a *g) | |||
716 | __nvgpu_set_enabled(g, NVGPU_PMU_PSTATE, false); | 716 | __nvgpu_set_enabled(g, NVGPU_PMU_PSTATE, false); |
717 | 717 | ||
718 | /* Read fuses to check if gpu needs to boot in secure/non-secure mode */ | 718 | /* Read fuses to check if gpu needs to boot in secure/non-secure mode */ |
719 | if (gops->fuse.check_priv_security(g)) | 719 | if (gops->fuse.check_priv_security(g)) { |
720 | return -EINVAL; /* Do not boot gpu */ | 720 | return -EINVAL; /* Do not boot gpu */ |
721 | } | ||
721 | 722 | ||
722 | /* priv security dependent ops */ | 723 | /* priv security dependent ops */ |
723 | if (nvgpu_is_enabled(g, NVGPU_SEC_PRIVSECURITY)) { | 724 | if (nvgpu_is_enabled(g, NVGPU_SEC_PRIVSECURITY)) { |