Commit a6946151 authored by Oded Gabbay's avatar Oded Gabbay

habanalabs: set dma max segment size

This is required from any device that is capable to perform DMA.
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 2b5bbef5
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment