mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
video: tegra: host: nvdla: update dma mask
- update dma mask to set to 40 bit for allow dma address high range. Bug 2275298 Change-Id: I586bdd63aa3d8cad9aa6792a7784b65ea8733d22 Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Signed-off-by: Shridhar Rasal <srasal@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1786196 GVS: Gerrit_Virtual_Submit Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Laxman Dewangan
parent
c0f98298e1
commit
2ed4adb936
@@ -722,6 +722,8 @@ static int nvdla_probe(struct platform_device *pdev)
|
|||||||
goto err_get_pdata;
|
goto err_get_pdata;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dma_set_mask(dev, DMA_BIT_MASK(40));
|
||||||
|
|
||||||
nvdla_dev = devm_kzalloc(dev, sizeof(*nvdla_dev), GFP_KERNEL);
|
nvdla_dev = devm_kzalloc(dev, sizeof(*nvdla_dev), GFP_KERNEL);
|
||||||
if (!nvdla_dev) {
|
if (!nvdla_dev) {
|
||||||
err = -ENOMEM;
|
err = -ENOMEM;
|
||||||
|
|||||||
Reference in New Issue
Block a user