diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index 13dc4241..8ac6d1d1 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |||
@@ -914,13 +914,13 @@ static int gk20a_init_vidmem(struct mm_gk20a *mm) | |||
914 | int err; | 914 | int err; |
915 | 915 | ||
916 | static struct gk20a_alloc_carveout wpr_co = | 916 | static struct gk20a_alloc_carveout wpr_co = |
917 | GK20A_CARVEOUT("wpr-region", | 917 | GK20A_CARVEOUT("wpr-region", 0, SZ_16M); |
918 | NVGPU_VIDMEM_BOOTSTRAP_ALLOCATOR_BASE, SZ_16M); | ||
919 | 918 | ||
920 | if (!size) | 919 | if (!size) |
921 | return 0; | 920 | return 0; |
922 | 921 | ||
923 | bootstrap_base = NVGPU_VIDMEM_BOOTSTRAP_ALLOCATOR_BASE; | 922 | wpr_co.base = size - SZ_256M; |
923 | bootstrap_base = wpr_co.base; | ||
924 | bootstrap_size = SZ_16M; | 924 | bootstrap_size = SZ_16M; |
925 | base = default_page_size; | 925 | base = default_page_size; |
926 | 926 | ||