summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c
index da41abd4..1a5811fe 100644
--- a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c
+++ b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c
@@ -117,9 +117,6 @@ static int vgpu_gr_gp10b_set_ctxsw_preemption_mode(struct gk20a *g,
117 &msg.params.gr_bind_ctxsw_buffers; 117 &msg.params.gr_bind_ctxsw_buffers;
118 int err = 0; 118 int err = 0;
119 119
120 WARN_ON(TEGRA_VGPU_GR_BIND_CTXSW_BUFFER_MAX !=
121 TEGRA_VGPU_GR_BIND_CTXSW_BUFFER_LAST);
122
123 if (class == PASCAL_A && g->gr.t18x.ctx_vars.force_preemption_gfxp) 120 if (class == PASCAL_A && g->gr.t18x.ctx_vars.force_preemption_gfxp)
124 graphics_preempt_mode = NVGPU_GRAPHICS_PREEMPTION_MODE_GFXP; 121 graphics_preempt_mode = NVGPU_GRAPHICS_PREEMPTION_MODE_GFXP;
125 122