diff options
Diffstat (limited to 'drivers/gpu/nvgpu/pci.c')
-rw-r--r-- | drivers/gpu/nvgpu/pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/pci.c b/drivers/gpu/nvgpu/pci.c index a899c0cf..01c7a2dc 100644 --- a/drivers/gpu/nvgpu/pci.c +++ b/drivers/gpu/nvgpu/pci.c | |||
@@ -243,8 +243,10 @@ static int nvgpu_pci_probe(struct pci_dev *pdev, | |||
243 | 243 | ||
244 | g->mm.has_physical_mode = false; | 244 | g->mm.has_physical_mode = false; |
245 | g->mm.vidmem_is_vidmem = true; | 245 | g->mm.vidmem_is_vidmem = true; |
246 | #ifdef CONFIG_DEBUG_FS | ||
246 | g->mm.ltc_enabled = true; | 247 | g->mm.ltc_enabled = true; |
247 | g->mm.ltc_enabled_debug = true; | 248 | g->mm.ltc_enabled_debug = true; |
249 | #endif | ||
248 | g->mm.bypass_smmu = platform->bypass_smmu; | 250 | g->mm.bypass_smmu = platform->bypass_smmu; |
249 | g->mm.disable_bigpage = platform->disable_bigpage; | 251 | g->mm.disable_bigpage = platform->disable_bigpage; |
250 | 252 | ||