diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 4 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index ee49a8f2..50b819ac 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -2309,10 +2309,6 @@ void gv11b_restore_context_header(struct gk20a *g, | |||
2309 | ctxsw_prog_main_image_context_buffer_ptr_hi_o(), va_hi); | 2309 | ctxsw_prog_main_image_context_buffer_ptr_hi_o(), va_hi); |
2310 | nvgpu_mem_wr(g, ctxheader, | 2310 | nvgpu_mem_wr(g, ctxheader, |
2311 | ctxsw_prog_main_image_context_buffer_ptr_o(), va_lo); | 2311 | ctxsw_prog_main_image_context_buffer_ptr_o(), va_lo); |
2312 | nvgpu_mem_wr(g, ctxheader, | ||
2313 | ctxsw_prog_main_image_num_restore_ops_o(), 0); | ||
2314 | nvgpu_mem_wr(g, ctxheader, | ||
2315 | ctxsw_prog_main_image_num_save_ops_o(), 0); | ||
2316 | } | 2312 | } |
2317 | void gr_gv11b_write_zcull_ptr(struct gk20a *g, | 2313 | void gr_gv11b_write_zcull_ptr(struct gk20a *g, |
2318 | struct nvgpu_mem *mem, u64 gpu_va) | 2314 | struct nvgpu_mem *mem, u64 gpu_va) |
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index 2abd6243..be3f2456 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -343,6 +343,7 @@ static const struct gpu_ops gv11b_ops = { | |||
343 | .handle_tpc_sm_ecc_exception = | 343 | .handle_tpc_sm_ecc_exception = |
344 | gr_gv11b_handle_tpc_sm_ecc_exception, | 344 | gr_gv11b_handle_tpc_sm_ecc_exception, |
345 | .decode_egpc_addr = gv11b_gr_decode_egpc_addr, | 345 | .decode_egpc_addr = gv11b_gr_decode_egpc_addr, |
346 | .init_ctxsw_hdr_data = gr_gp10b_init_ctxsw_hdr_data, | ||
346 | }, | 347 | }, |
347 | .fb = { | 348 | .fb = { |
348 | .reset = gv11b_fb_reset, | 349 | .reset = gv11b_fb_reset, |