summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirill Artamonov <kartamonov@nvidia.com>2018-02-28 03:39:41 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-07 12:45:28 -0500
commitf85a0d3e00b53453f3d5ca556f15465078473f31 (patch)
tree1e20e2425d2238729b09997c9a6d729bf4384e88
parentb063870f909f368820ae9b0726407d18dc28f24c (diff)
gpu: nvgpu: gv11b: use gv11b update_ctxsw_preemption_mode
Use gr_gv11b_update_ctxsw_preemption_mode instead of gr_gp10b_update_ctxsw_preemption_mode. bug 1888344 Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com> Change-Id: I2420b64bac6393b1bb59a84235850a6cbc68be93 Reviewed-on: https://git-master.nvidia.com/r/1665663 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
-rw-r--r--drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
index a6a28225..03cfab9f 100644
--- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
+++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
@@ -153,7 +153,7 @@ static const struct gpu_ops vgpu_gv11b_ops = {
153 .alloc_gr_ctx = vgpu_gr_gp10b_alloc_gr_ctx, 153 .alloc_gr_ctx = vgpu_gr_gp10b_alloc_gr_ctx,
154 .free_gr_ctx = vgpu_gr_free_gr_ctx, 154 .free_gr_ctx = vgpu_gr_free_gr_ctx,
155 .update_ctxsw_preemption_mode = 155 .update_ctxsw_preemption_mode =
156 gr_gp10b_update_ctxsw_preemption_mode, 156 gr_gv11b_update_ctxsw_preemption_mode,
157 .dump_gr_regs = NULL, 157 .dump_gr_regs = NULL,
158 .update_pc_sampling = gr_gm20b_update_pc_sampling, 158 .update_pc_sampling = gr_gm20b_update_pc_sampling,
159 .get_fbp_en_mask = vgpu_gr_get_fbp_en_mask, 159 .get_fbp_en_mask = vgpu_gr_get_fbp_en_mask,