diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index 9f0b3e92..73de900d 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -388,7 +388,7 @@ int channel_gk20a_alloc_inst(struct gk20a *g, struct channel_gk20a *ch) | |||
388 | 388 | ||
389 | gk20a_dbg_fn(""); | 389 | gk20a_dbg_fn(""); |
390 | 390 | ||
391 | err = gk20a_gmmu_alloc(g, ram_in_alloc_size_v(), &ch->inst_block); | 391 | err = gk20a_alloc_inst_block(g, &ch->inst_block); |
392 | if (err) | 392 | if (err) |
393 | return err; | 393 | return err; |
394 | 394 | ||
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index 70bdbc04..555353e2 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |||
@@ -4668,7 +4668,7 @@ int gk20a_alloc_inst_block(struct gk20a *g, struct mem_desc *inst_block) | |||
4668 | 4668 | ||
4669 | gk20a_dbg_fn(""); | 4669 | gk20a_dbg_fn(""); |
4670 | 4670 | ||
4671 | err = gk20a_gmmu_alloc_sys(g, ram_in_alloc_size_v(), inst_block); | 4671 | err = gk20a_gmmu_alloc(g, ram_in_alloc_size_v(), inst_block); |
4672 | if (err) { | 4672 | if (err) { |
4673 | gk20a_err(dev, "%s: memory allocation failed\n", __func__); | 4673 | gk20a_err(dev, "%s: memory allocation failed\n", __func__); |
4674 | return err; | 4674 | return err; |