diff options
Diffstat (limited to 'drivers/gpu/nvgpu/os')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/module.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/pci.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/module.c b/drivers/gpu/nvgpu/os/linux/module.c index 46a82d86..4b64847e 100644 --- a/drivers/gpu/nvgpu/os/linux/module.c +++ b/drivers/gpu/nvgpu/os/linux/module.c | |||
@@ -1257,8 +1257,6 @@ static int gk20a_probe(struct platform_device *dev) | |||
1257 | goto return_err; | 1257 | goto return_err; |
1258 | } | 1258 | } |
1259 | 1259 | ||
1260 | gk20a->mm.has_physical_mode = !nvgpu_is_hypervisor_mode(gk20a); | ||
1261 | |||
1262 | return 0; | 1260 | return 0; |
1263 | 1261 | ||
1264 | return_err: | 1262 | return_err: |
diff --git a/drivers/gpu/nvgpu/os/linux/pci.c b/drivers/gpu/nvgpu/os/linux/pci.c index e9374769..79a30495 100644 --- a/drivers/gpu/nvgpu/os/linux/pci.c +++ b/drivers/gpu/nvgpu/os/linux/pci.c | |||
@@ -806,8 +806,6 @@ static int nvgpu_pci_probe(struct pci_dev *pdev, | |||
806 | } | 806 | } |
807 | } | 807 | } |
808 | 808 | ||
809 | g->mm.has_physical_mode = false; | ||
810 | |||
811 | return 0; | 809 | return 0; |
812 | 810 | ||
813 | err_free_irq: | 811 | err_free_irq: |