summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
diff options
context:
space:
mode:
authorSunny He <suhe@nvidia.com>2017-07-24 15:18:38 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-26 05:45:14 -0400
commitd59271c7b79080388371877fc2d10574ca42206a (patch)
tree921f6d1ddce07235d7fbd1f27e6510b8cfe56ae7 /drivers/gpu/nvgpu/gp10b/gr_gp10b.h
parentde3ad1a94974b08268a485136f04b8e436ef2579 (diff)
gpu: nvgpu: Remove privsecurity flag from gpu_ops
Replace privsecurity boolean flag in gpu_ops with entry in common flag system. The new common flag is NVGPU_SEC_PRIVSECURITY Jira NVGPU-74 Change-Id: I4b258f5ffbe30a6344ffba0ece51c6f5d47ebec1 Signed-off-by: Sunny He <suhe@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1525713 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/gp10b/gr_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_gp10b.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
index aac9eb65..161fec87 100644
--- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
@@ -20,7 +20,7 @@
20 20
21#include "gk20a/mm_gk20a.h" 21#include "gk20a/mm_gk20a.h"
22 22
23struct gpu_ops; 23struct gk20a;
24struct gr_gk20a_isr_data; 24struct gr_gk20a_isr_data;
25 25
26enum { 26enum {
@@ -41,7 +41,7 @@ enum {
41#define NVC0C0_SET_SHADER_EXCEPTIONS 0x1528 41#define NVC0C0_SET_SHADER_EXCEPTIONS 0x1528
42#define NVC0C0_SET_RD_COALESCE 0x0228 42#define NVC0C0_SET_RD_COALESCE 0x0228
43 43
44void gp10b_init_gr(struct gpu_ops *ops); 44void gp10b_init_gr(struct gk20a *g);
45int gr_gp10b_init_fs_state(struct gk20a *g); 45int gr_gp10b_init_fs_state(struct gk20a *g);
46int gr_gp10b_alloc_buffer(struct vm_gk20a *vm, size_t size, 46int gr_gp10b_alloc_buffer(struct vm_gk20a *vm, size_t size,
47 struct nvgpu_mem *mem); 47 struct nvgpu_mem *mem);