summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_gp10b.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
index f5377bc3..0aa32f8a 100644
--- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
@@ -1183,8 +1183,7 @@ void gr_gp10b_update_ctxsw_preemption_mode(struct gk20a *g,
1183{ 1183{
1184 struct tsg_gk20a *tsg; 1184 struct tsg_gk20a *tsg;
1185 struct nvgpu_gr_ctx *gr_ctx; 1185 struct nvgpu_gr_ctx *gr_ctx;
1186 struct ctx_header_desc *ctx = &c->ctx_header; 1186 struct nvgpu_mem *ctxheader = &c->ctx_header;
1187 struct nvgpu_mem *ctxheader = &ctx->mem;
1188 u32 gfxp_preempt_option = 1187 u32 gfxp_preempt_option =
1189 ctxsw_prog_main_image_graphics_preemption_options_control_gfxp_f(); 1188 ctxsw_prog_main_image_graphics_preemption_options_control_gfxp_f();
1190 u32 cilp_preempt_option = 1189 u32 cilp_preempt_option =