summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index b218397a..d787a693 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -1763,9 +1763,6 @@ int gr_gk20a_update_hwpm_ctxsw_mode(struct gk20a *g,
1763 return -ENOMEM; 1763 return -ENOMEM;
1764 } 1764 }
1765 } 1765 }
1766
1767 /* Now clear the buffer */
1768 nvgpu_memset(g, &pm_ctx->mem, 0, 0, pm_ctx->mem.size);
1769 } 1766 }
1770 1767
1771 data = nvgpu_mem_rd(g, gr_mem, ctxsw_prog_main_image_pm_o()); 1768 data = nvgpu_mem_rd(g, gr_mem, ctxsw_prog_main_image_pm_o());