gpu: host1x: Do not limit DMA segment size
host1x nor any its clients have any limitations on the DMA segment size, so don't pretend that they do. Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
@@ -237,6 +237,9 @@ static int host1x_probe(struct platform_device *pdev)
|
||||
return PTR_ERR(host->hv_regs);
|
||||
}
|
||||
|
||||
host->dev->dma_parms = &host->dma_parms;
|
||||
dma_set_max_seg_size(host->dev, UINT_MAX);
|
||||
|
||||
dma_set_mask_and_coherent(host->dev, host->info->dma_mask);
|
||||
|
||||
if (host->info->init) {
|
||||
|
||||
Reference in New Issue
Block a user