diff options
author | Richard Zhao <rizhao@nvidia.com> | 2017-04-06 20:32:14 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-07 16:48:30 -0400 |
commit | 3429657f9308b27e4721d88b1c1c307b23bfb316 (patch) | |
tree | 3cdd5bb56fd0d415df1ab1a9bd73244b52957025 /drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c | |
parent | 14959cf6829f13180eb27015ca2db83a817c1add (diff) |
gpu: nvgpu: vgpu: merge tegra_vgpu_t18x.h to tegra_vgpu.h
No need to keep two vgpu headers anymore.
Jira VFND-3796
Change-Id: I400cbfa5b2c0e62963eff247adcd9483be975379
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: http://git-master/r/1457480
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c | 3 |
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 | ||