From bd8b6299e555f6fe6c03bbb7d957c381658a5d9c Mon Sep 17 00:00:00 2001 From: Shridhar Rasal Date: Tue, 21 Jan 2020 21:43:46 -0800 Subject: [PATCH] video: tegra: host: nvdla: update dma mask - update dma mask to set to 39 bit for allow dma address as per POR. Bug 200565560 Change-Id: I86fd470b46089347958c44174ed535a6a55ef2f9 Signed-off-by: Shridhar Rasal Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2283414 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Anup Mahindre Reviewed-by: Bharat Nihalani Reviewed-by: automaticguardword Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions --- drivers/video/tegra/host/nvdla/nvdla.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/tegra/host/nvdla/nvdla.c b/drivers/video/tegra/host/nvdla/nvdla.c index 0621b62b..391ff789 100644 --- a/drivers/video/tegra/host/nvdla/nvdla.c +++ b/drivers/video/tegra/host/nvdla/nvdla.c @@ -1,7 +1,7 @@ /* * NVDLA driver for T194 * - * Copyright (c) 2016-2019, NVIDIA Corporation. All rights reserved. + * Copyright (c) 2016-2020, NVIDIA Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -737,7 +737,7 @@ static int nvdla_probe(struct platform_device *pdev) goto err_no_ip; } - dma_set_mask(dev, DMA_BIT_MASK(37)); + dma_set_mask(dev, DMA_BIT_MASK(39)); nvdla_dev = devm_kzalloc(dev, sizeof(*nvdla_dev), GFP_KERNEL); if (!nvdla_dev) {