diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index aac6cba3..154088d6 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -2306,24 +2306,6 @@ int gr_gv11b_commit_global_timeslice(struct gk20a *g, | |||
2306 | return 0; | 2306 | return 0; |
2307 | } | 2307 | } |
2308 | 2308 | ||
2309 | void gv11b_restore_context_header(struct gk20a *g, | ||
2310 | struct nvgpu_mem *ctxheader) | ||
2311 | { | ||
2312 | u32 va_lo, va_hi; | ||
2313 | struct gr_gk20a *gr = &g->gr; | ||
2314 | |||
2315 | va_hi = nvgpu_mem_rd(g, ctxheader, | ||
2316 | ctxsw_prog_main_image_context_buffer_ptr_hi_o()); | ||
2317 | va_lo = nvgpu_mem_rd(g, ctxheader, | ||
2318 | ctxsw_prog_main_image_context_buffer_ptr_o()); | ||
2319 | nvgpu_mem_wr_n(g, ctxheader, 0, | ||
2320 | gr->ctx_vars.local_golden_image, | ||
2321 | gr->ctx_vars.golden_image_size); | ||
2322 | nvgpu_mem_wr(g, ctxheader, | ||
2323 | ctxsw_prog_main_image_context_buffer_ptr_hi_o(), va_hi); | ||
2324 | nvgpu_mem_wr(g, ctxheader, | ||
2325 | ctxsw_prog_main_image_context_buffer_ptr_o(), va_lo); | ||
2326 | } | ||
2327 | void gr_gv11b_write_zcull_ptr(struct gk20a *g, | 2309 | void gr_gv11b_write_zcull_ptr(struct gk20a *g, |
2328 | struct nvgpu_mem *mem, u64 gpu_va) | 2310 | struct nvgpu_mem *mem, u64 gpu_va) |
2329 | { | 2311 | { |