summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r--drivers/gpu/nvgpu/common/linux/driver_common.c2
-rw-r--r--drivers/gpu/nvgpu/common/linux/pci.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/driver_common.c b/drivers/gpu/nvgpu/common/linux/driver_common.c
index b4e6a02c..7c4645a8 100644
--- a/drivers/gpu/nvgpu/common/linux/driver_common.c
+++ b/drivers/gpu/nvgpu/common/linux/driver_common.c
@@ -163,6 +163,8 @@ static void nvgpu_init_mm_vars(struct gk20a *g)
163 platform->unified_memory); 163 platform->unified_memory);
164 __nvgpu_set_enabled(g, NVGPU_MM_UNIFY_ADDRESS_SPACES, 164 __nvgpu_set_enabled(g, NVGPU_MM_UNIFY_ADDRESS_SPACES,
165 platform->unify_address_spaces); 165 platform->unify_address_spaces);
166 __nvgpu_set_enabled(g, NVGPU_MM_CE_TSG_REQUIRED,
167 platform->tsg_required);
166 168
167 nvgpu_mutex_init(&g->mm.tlb_lock); 169 nvgpu_mutex_init(&g->mm.tlb_lock);
168 nvgpu_mutex_init(&g->mm.priv_lock); 170 nvgpu_mutex_init(&g->mm.priv_lock);
diff --git a/drivers/gpu/nvgpu/common/linux/pci.c b/drivers/gpu/nvgpu/common/linux/pci.c
index 92764c21..401080ed 100644
--- a/drivers/gpu/nvgpu/common/linux/pci.c
+++ b/drivers/gpu/nvgpu/common/linux/pci.c
@@ -240,6 +240,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
240 .vbios_min_version = 0x88001e00, 240 .vbios_min_version = 0x88001e00,
241 .hardcode_sw_threshold = false, 241 .hardcode_sw_threshold = false,
242 .run_preos = true, 242 .run_preos = true,
243 .tsg_required = true,
243 }, 244 },
244 { /* DEVICE=PG503 SKU 200 ES */ 245 { /* DEVICE=PG503 SKU 200 ES */
245 /* ptimer src frequency in hz */ 246 /* ptimer src frequency in hz */
@@ -274,6 +275,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
274 .vbios_min_version = 0x88001e00, 275 .vbios_min_version = 0x88001e00,
275 .hardcode_sw_threshold = false, 276 .hardcode_sw_threshold = false,
276 .run_preos = true, 277 .run_preos = true,
278 .tsg_required = true,
277 } 279 }
278}; 280};
279 281