summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/vgpu/gv11b
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/gv11b')
-rw-r--r--drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_hal_gv11b.c1
-rw-r--r--drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_subctx_gv11b.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_hal_gv11b.c
index 968eae10..132ce6e5 100644
--- a/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_hal_gv11b.c
+++ b/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_hal_gv11b.c
@@ -131,7 +131,6 @@ static const struct gpu_ops vgpu_gv11b_ops = {
131 .load_ctxsw_ucode = gr_gk20a_load_ctxsw_ucode, 131 .load_ctxsw_ucode = gr_gk20a_load_ctxsw_ucode,
132 .set_gpc_tpc_mask = gr_gv11b_set_gpc_tpc_mask, 132 .set_gpc_tpc_mask = gr_gv11b_set_gpc_tpc_mask,
133 .get_gpc_tpc_mask = vgpu_gr_get_gpc_tpc_mask, 133 .get_gpc_tpc_mask = vgpu_gr_get_gpc_tpc_mask,
134 .free_channel_ctx = vgpu_gr_free_channel_ctx,
135 .alloc_obj_ctx = vgpu_gr_alloc_obj_ctx, 134 .alloc_obj_ctx = vgpu_gr_alloc_obj_ctx,
136 .bind_ctxsw_zcull = vgpu_gr_bind_ctxsw_zcull, 135 .bind_ctxsw_zcull = vgpu_gr_bind_ctxsw_zcull,
137 .get_zcull_info = vgpu_gr_get_zcull_info, 136 .get_zcull_info = vgpu_gr_get_zcull_info,
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_subctx_gv11b.c b/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_subctx_gv11b.c
index d59f0381..a0099f03 100644
--- a/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_subctx_gv11b.c
+++ b/drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_subctx_gv11b.c
@@ -21,7 +21,7 @@
21 21
22int vgpu_gv11b_alloc_subctx_header(struct channel_gk20a *c) 22int vgpu_gv11b_alloc_subctx_header(struct channel_gk20a *c)
23{ 23{
24 struct ctx_header_desc *ctx = &c->ch_ctx.ctx_header; 24 struct ctx_header_desc *ctx = &c->ctx_header;
25 struct tegra_vgpu_cmd_msg msg = {}; 25 struct tegra_vgpu_cmd_msg msg = {};
26 struct tegra_vgpu_alloc_ctx_header_params *p = 26 struct tegra_vgpu_alloc_ctx_header_params *p =
27 &msg.params.alloc_ctx_header; 27 &msg.params.alloc_ctx_header;
@@ -52,7 +52,7 @@ int vgpu_gv11b_alloc_subctx_header(struct channel_gk20a *c)
52 52
53void vgpu_gv11b_free_subctx_header(struct channel_gk20a *c) 53void vgpu_gv11b_free_subctx_header(struct channel_gk20a *c)
54{ 54{
55 struct ctx_header_desc *ctx = &c->ch_ctx.ctx_header; 55 struct ctx_header_desc *ctx = &c->ctx_header;
56 struct tegra_vgpu_cmd_msg msg = {}; 56 struct tegra_vgpu_cmd_msg msg = {};
57 struct tegra_vgpu_free_ctx_header_params *p = 57 struct tegra_vgpu_free_ctx_header_params *p =
58 &msg.params.free_ctx_header; 58 &msg.params.free_ctx_header;