summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/subctx_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/subctx_gv11b.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c b/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c
index 8bf0631e..757baa6e 100644
--- a/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/subctx_gv11b.c
@@ -24,7 +24,7 @@
24#include <nvgpu/hw/gv11b/hw_ctxsw_prog_gv11b.h> 24#include <nvgpu/hw/gv11b/hw_ctxsw_prog_gv11b.h>
25 25
26static void gv11b_init_subcontext_pdb(struct channel_gk20a *c, 26static void gv11b_init_subcontext_pdb(struct channel_gk20a *c,
27 struct mem_desc *inst_block); 27 struct nvgpu_mem *inst_block);
28 28
29void gv11b_free_subctx_header(struct channel_gk20a *c) 29void gv11b_free_subctx_header(struct channel_gk20a *c)
30{ 30{
@@ -86,7 +86,7 @@ int gv11b_alloc_subctx_header(struct channel_gk20a *c)
86} 86}
87 87
88static void gv11b_init_subcontext_pdb(struct channel_gk20a *c, 88static void gv11b_init_subcontext_pdb(struct channel_gk20a *c,
89 struct mem_desc *inst_block) 89 struct nvgpu_mem *inst_block)
90{ 90{
91 struct gk20a *g = c->g; 91 struct gk20a *g = c->g;
92 struct vm_gk20a *vm; 92 struct vm_gk20a *vm;
@@ -126,7 +126,7 @@ static void gv11b_init_subcontext_pdb(struct channel_gk20a *c,
126int gv11b_update_subctx_header(struct channel_gk20a *c, u64 gpu_va) 126int gv11b_update_subctx_header(struct channel_gk20a *c, u64 gpu_va)
127{ 127{
128 struct ctx_header_desc *ctx = &c->ch_ctx.ctx_header; 128 struct ctx_header_desc *ctx = &c->ch_ctx.ctx_header;
129 struct mem_desc *gr_mem; 129 struct nvgpu_mem *gr_mem;
130 struct gk20a *g = c->g; 130 struct gk20a *g = c->g;
131 int ret = 0; 131 int ret = 0;
132 u32 addr_lo, addr_hi; 132 u32 addr_lo, addr_hi;