gpu: nvgpu: gv11b: Remove securegpccs 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: I487aa5e8545027a3b5bbe33ce68b2715cc2eb39a
Signed-off-by: Sunny He <suhe@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1514096
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
This commit is contained in:
Sunny He
2017-06-28 14:17:59 -07:00
committed by mobile promotions
parent 8140c51e6c
commit a5d6970df7

View File

@@ -55,6 +55,7 @@
#include "subctx_gv11b.h"
#include <nvgpu/debug.h>
#include <nvgpu/enabled.h>
#include <nvgpu/hw/gv11b/hw_proj_gv11b.h>
#include <nvgpu/hw/gv11b/hw_fifo_gv11b.h>
@@ -358,7 +359,7 @@ int gv11b_init_hal(struct gk20a *g)
/* boot in non-secure modes for time beeing */
gops->privsecurity = 0;
gops->securegpccs = 0;
__nvgpu_set_enabled(g, NVGPU_SEC_SECUREGPCCS, false);
gv11b_init_gr(gops);
gv11b_init_fecs_trace_ops(gops);