habanalabs: set dma max segment size
This is required from any device that is capable to perform DMA. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
parent
2b5bbef5e8
commit
a694615111
|
@ -436,6 +436,8 @@ int hl_pci_init(struct hl_device *hdev)
|
|||
goto unmap_pci_bars;
|
||||
}
|
||||
|
||||
dma_set_max_seg_size(&pdev->dev, U32_MAX);
|
||||
|
||||
return 0;
|
||||
|
||||
unmap_pci_bars:
|
||||
|
|
Loading…
Reference in New Issue