diff options
author | Sunny He <suhe@nvidia.com> | 2017-06-28 17:16:53 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-07-26 05:44:23 -0400 |
commit | de3ad1a94974b08268a485136f04b8e436ef2579 (patch) | |
tree | 15910cd769e91f6600fef0546b501faf65e1fa50 /drivers/gpu/nvgpu/gp106/hal_gp106.c | |
parent | 92f6eb016cc759b24e249ed6c17cff537cc35db7 (diff) |
gpu: nvgpu: Remove securegpccs flag from gpu_ops
Replace securegpccs boolean flag in gpu_ops with entry in
common flag system.
The new common flag is NVGPU_SEC_SECUREGPCCS
Jira NVGPU-74
Change-Id: I46430f95063f617531cf0e5aba472051b41f4a9d
Signed-off-by: Sunny He <suhe@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1514060
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/hal_gp106.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index 2a661734..80117ede 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c | |||
@@ -417,7 +417,7 @@ int gp106_init_hal(struct gk20a *g) | |||
417 | gops->bios_init = gp106_ops.bios_init; | 417 | gops->bios_init = gp106_ops.bios_init; |
418 | 418 | ||
419 | gops->privsecurity = 1; | 419 | gops->privsecurity = 1; |
420 | gops->securegpccs = 1; | 420 | __nvgpu_set_enabled(g, NVGPU_SEC_SECUREGPCCS, true); |
421 | __nvgpu_set_enabled(g, NVGPU_PMU_PSTATE, true); | 421 | __nvgpu_set_enabled(g, NVGPU_PMU_PSTATE, true); |
422 | 422 | ||
423 | g->bootstrap_owner = LSF_FALCON_ID_SEC2; | 423 | g->bootstrap_owner = LSF_FALCON_ID_SEC2; |