diff options
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index d7ace0d8..adce734c 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |||
@@ -2517,6 +2517,8 @@ int gk20a_gmmu_alloc_attr_vid_at(struct gk20a *g, enum dma_attr attr, | |||
2517 | mem->size = size; | 2517 | mem->size = size; |
2518 | mem->aperture = APERTURE_VIDMEM; | 2518 | mem->aperture = APERTURE_VIDMEM; |
2519 | 2519 | ||
2520 | gk20a_memset(g, mem, 0, 0, size); | ||
2521 | |||
2520 | gk20a_dbg_fn("done"); | 2522 | gk20a_dbg_fn("done"); |
2521 | 2523 | ||
2522 | return 0; | 2524 | return 0; |