diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/acr_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/acr_gp106.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp106/acr_gp106.c b/drivers/gpu/nvgpu/gp106/acr_gp106.c index dce297bd..929036a3 100644 --- a/drivers/gpu/nvgpu/gp106/acr_gp106.c +++ b/drivers/gpu/nvgpu/gp106/acr_gp106.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <nvgpu/acr/nvgpu_acr.h> | 21 | #include <nvgpu/acr/nvgpu_acr.h> |
22 | #include <nvgpu/firmware.h> | 22 | #include <nvgpu/firmware.h> |
23 | #include <nvgpu/pmu.h> | 23 | #include <nvgpu/pmu.h> |
24 | #include <nvgpu/enabled.h> | ||
24 | 25 | ||
25 | #include "gk20a/gk20a.h" | 26 | #include "gk20a/gk20a.h" |
26 | #include "gk20a/pmu_gk20a.h" | 27 | #include "gk20a/pmu_gk20a.h" |
@@ -286,7 +287,7 @@ int gpccs_ucode_details(struct gk20a *g, struct flcn_ucode_img_v1 *p_img) | |||
286 | struct nvgpu_firmware *gpccs_sig = NULL; | 287 | struct nvgpu_firmware *gpccs_sig = NULL; |
287 | int err; | 288 | int err; |
288 | 289 | ||
289 | if (g->ops.securegpccs == false) | 290 | if (!nvgpu_is_enabled(g, NVGPU_SEC_SECUREGPCCS)) |
290 | return -ENOENT; | 291 | return -ENOENT; |
291 | 292 | ||
292 | switch (ver) { | 293 | switch (ver) { |