diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/acr_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/acr_gm20b.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c index 1bc51a7c..0d69b5da 100644 --- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <nvgpu/firmware.h> | 28 | #include <nvgpu/firmware.h> |
29 | #include <nvgpu/pmu.h> | 29 | #include <nvgpu/pmu.h> |
30 | #include <nvgpu/falcon.h> | 30 | #include <nvgpu/falcon.h> |
31 | #include <nvgpu/enabled.h> | ||
31 | 32 | ||
32 | #include <nvgpu/linux/dma.h> | 33 | #include <nvgpu/linux/dma.h> |
33 | 34 | ||
@@ -267,7 +268,7 @@ static int gpccs_ucode_details(struct gk20a *g, struct flcn_ucode_img *p_img) | |||
267 | struct nvgpu_firmware *gpccs_sig; | 268 | struct nvgpu_firmware *gpccs_sig; |
268 | int err; | 269 | int err; |
269 | 270 | ||
270 | if (g->ops.securegpccs == false) | 271 | if (!nvgpu_is_enabled(g, NVGPU_SEC_SECUREGPCCS)) |
271 | return -ENOENT; | 272 | return -ENOENT; |
272 | 273 | ||
273 | gpccs_sig = nvgpu_request_firmware(g, T18x_GPCCS_UCODE_SIG, 0); | 274 | gpccs_sig = nvgpu_request_firmware(g, T18x_GPCCS_UCODE_SIG, 0); |