diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index db77d40f..03e16913 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -1562,13 +1562,14 @@ static int gk20a_probe(struct platform_device *dev) | |||
1562 | 1562 | ||
1563 | gk20a_create_sysfs(&dev->dev); | 1563 | gk20a_create_sysfs(&dev->dev); |
1564 | 1564 | ||
1565 | gk20a->mm.bypass_smmu = platform->bypass_smmu; | ||
1566 | gk20a->mm.disable_bigpage = platform->disable_bigpage; | ||
1567 | gk20a->mm.has_physical_mode = true; | ||
1568 | |||
1565 | #ifdef CONFIG_DEBUG_FS | 1569 | #ifdef CONFIG_DEBUG_FS |
1566 | spin_lock_init(&gk20a->debugfs_lock); | 1570 | spin_lock_init(&gk20a->debugfs_lock); |
1567 | gk20a->mm.ltc_enabled = true; | 1571 | gk20a->mm.ltc_enabled = true; |
1568 | gk20a->mm.ltc_enabled_debug = true; | 1572 | gk20a->mm.ltc_enabled_debug = true; |
1569 | gk20a->mm.bypass_smmu = platform->bypass_smmu; | ||
1570 | gk20a->mm.disable_bigpage = platform->disable_bigpage; | ||
1571 | gk20a->mm.has_physical_mode = true; | ||
1572 | gk20a->debugfs_ltc_enabled = | 1573 | gk20a->debugfs_ltc_enabled = |
1573 | debugfs_create_bool("ltc_enabled", S_IRUGO|S_IWUSR, | 1574 | debugfs_create_bool("ltc_enabled", S_IRUGO|S_IWUSR, |
1574 | platform->debugfs, | 1575 | platform->debugfs, |