summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/vgpu/gv11b
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2018-01-09 13:47:40 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-01-12 15:42:57 -0500
commitece3d958b306f00dad76ed6f9b83ce136b4769f2 (patch)
tree81d1bdce3311575661e3f30d7dbf957d1d1c330f /drivers/gpu/nvgpu/common/linux/vgpu/gv11b
parent44a1208fecab46f6e660d0315579c86cb6f32d0a (diff)
gpu: nvgpu: Combine gk20a and gp10b free_gr_ctx
gp10b version of free_gr_ctx was created to keep gp10b source code changes out from the mainline. gp10b was merged back to mainline a while ago, so this separation is no longer needed. Merge the two variants. Change-Id: I954b3b677e98e4248f95641ea22e0def4e583c66 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1635127 Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/gv11b')
-rw-r--r--drivers/gpu/nvgpu/common/linux/vgpu/gv11b/vgpu_hal_gv11b.c2
1 files changed, 1 insertions, 1 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 6f85b4ee..f6302d15 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
@@ -148,7 +148,7 @@ static const struct gpu_ops vgpu_gv11b_ops = {
148 .pagepool_default_size = gr_gv11b_pagepool_default_size, 148 .pagepool_default_size = gr_gv11b_pagepool_default_size,
149 .init_ctx_state = vgpu_gr_gp10b_init_ctx_state, 149 .init_ctx_state = vgpu_gr_gp10b_init_ctx_state,
150 .alloc_gr_ctx = vgpu_gr_gp10b_alloc_gr_ctx, 150 .alloc_gr_ctx = vgpu_gr_gp10b_alloc_gr_ctx,
151 .free_gr_ctx = vgpu_gr_gp10b_free_gr_ctx, 151 .free_gr_ctx = vgpu_gr_free_gr_ctx,
152 .update_ctxsw_preemption_mode = 152 .update_ctxsw_preemption_mode =
153 gr_gp10b_update_ctxsw_preemption_mode, 153 gr_gp10b_update_ctxsw_preemption_mode,
154 .dump_gr_regs = NULL, 154 .dump_gr_regs = NULL,