diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/pci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/pci.c b/drivers/gpu/nvgpu/common/linux/pci.c index 905a3d39..6ebe8dda 100644 --- a/drivers/gpu/nvgpu/common/linux/pci.c +++ b/drivers/gpu/nvgpu/common/linux/pci.c | |||
@@ -646,8 +646,10 @@ static int nvgpu_pci_probe(struct pci_dev *pdev, | |||
646 | 646 | ||
647 | np = nvgpu_get_node(g); | 647 | np = nvgpu_get_node(g); |
648 | 648 | ||
649 | if (of_dma_is_coherent(np)) | 649 | if (of_dma_is_coherent(np)) { |
650 | __nvgpu_set_enabled(g, NVGPU_DMA_COHERENT, true); | 650 | __nvgpu_set_enabled(g, NVGPU_DMA_COHERENT, true); |
651 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_IO_COHERENCE, true); | ||
652 | } | ||
651 | 653 | ||
652 | return 0; | 654 | return 0; |
653 | } | 655 | } |