diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/acr_gm20b.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c index c503bc48..c4a188ff 100644 --- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c | |||
@@ -355,7 +355,7 @@ static int gm20b_alloc_blob_space(struct gk20a *g, | |||
355 | { | 355 | { |
356 | int err; | 356 | int err; |
357 | 357 | ||
358 | err = gk20a_gmmu_alloc(g, size, mem); | 358 | err = gk20a_gmmu_alloc_sys(g, size, mem); |
359 | 359 | ||
360 | return err; | 360 | return err; |
361 | } | 361 | } |
@@ -1100,7 +1100,7 @@ static int gm20b_bootstrap_hs_flcn(struct gk20a *g) | |||
1100 | err = -1; | 1100 | err = -1; |
1101 | goto err_release_acr_fw; | 1101 | goto err_release_acr_fw; |
1102 | } | 1102 | } |
1103 | err = gk20a_gmmu_alloc_map(vm, img_size_in_bytes, | 1103 | err = gk20a_gmmu_alloc_map_sys(vm, img_size_in_bytes, |
1104 | &acr->acr_ucode); | 1104 | &acr->acr_ucode); |
1105 | if (err) { | 1105 | if (err) { |
1106 | err = -ENOMEM; | 1106 | err = -ENOMEM; |
@@ -1403,7 +1403,7 @@ int pmu_exec_gen_bl(struct gk20a *g, void *desc, u8 b_wait_for_halt) | |||
1403 | /*TODO in code verify that enable PMU is done, | 1403 | /*TODO in code verify that enable PMU is done, |
1404 | scrubbing etc is done*/ | 1404 | scrubbing etc is done*/ |
1405 | /*TODO in code verify that gmmu vm init is done*/ | 1405 | /*TODO in code verify that gmmu vm init is done*/ |
1406 | err = gk20a_gmmu_alloc_attr(g, | 1406 | err = gk20a_gmmu_alloc_attr_sys(g, |
1407 | DMA_ATTR_READ_ONLY, bl_sz, &acr->hsbl_ucode); | 1407 | DMA_ATTR_READ_ONLY, bl_sz, &acr->hsbl_ucode); |
1408 | if (err) { | 1408 | if (err) { |
1409 | gk20a_err(d, "failed to allocate memory\n"); | 1409 | gk20a_err(d, "failed to allocate memory\n"); |