diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/driver_common.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/driver_common.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/driver_common.c b/drivers/gpu/nvgpu/common/linux/driver_common.c index f85016d4..bd9a4e77 100644 --- a/drivers/gpu/nvgpu/common/linux/driver_common.c +++ b/drivers/gpu/nvgpu/common/linux/driver_common.c | |||
@@ -133,8 +133,10 @@ static void nvgpu_init_mm_vars(struct gk20a *g) | |||
133 | 133 | ||
134 | g->mm.bypass_smmu = platform->bypass_smmu; | 134 | g->mm.bypass_smmu = platform->bypass_smmu; |
135 | g->mm.disable_bigpage = platform->disable_bigpage; | 135 | g->mm.disable_bigpage = platform->disable_bigpage; |
136 | g->mm.vidmem_is_vidmem = platform->vidmem_is_vidmem; | 136 | __nvgpu_set_enabled(g, NVGPU_MM_HONORS_APERTURE, |
137 | 137 | platform->honors_aperture); | |
138 | __nvgpu_set_enabled(g, NVGPU_MM_UNIFIED_MEMORY, | ||
139 | platform->unified_memory); | ||
138 | __nvgpu_set_enabled(g, NVGPU_MM_UNIFY_ADDRESS_SPACES, | 140 | __nvgpu_set_enabled(g, NVGPU_MM_UNIFY_ADDRESS_SPACES, |
139 | platform->unify_address_spaces); | 141 | platform->unify_address_spaces); |
140 | 142 | ||