diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index a5caf048..076ddd12 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -2036,8 +2036,7 @@ int gr_gk20a_init_ctxsw_ucode(struct gk20a *g) | |||
2036 | g->gr.ctx_vars.ucode.gpccs.inst.count * sizeof(u32), | 2036 | g->gr.ctx_vars.ucode.gpccs.inst.count * sizeof(u32), |
2037 | g->gr.ctx_vars.ucode.gpccs.data.count * sizeof(u32)); | 2037 | g->gr.ctx_vars.ucode.gpccs.data.count * sizeof(u32)); |
2038 | 2038 | ||
2039 | err = gk20a_gmmu_alloc_attr(g, DMA_ATTR_READ_ONLY, ucode_size, | 2039 | err = gk20a_gmmu_alloc(g, ucode_size, &ucode_info->surface_desc); |
2040 | &ucode_info->surface_desc); | ||
2041 | if (err) | 2040 | if (err) |
2042 | goto clean_up; | 2041 | goto clean_up; |
2043 | 2042 | ||