From ec2d04422b81a87ce7d43e63e4e2141960d93c2e Mon Sep 17 00:00:00 2001 From: Amruta Bhamidipati Date: Mon, 24 Jul 2023 23:33:51 +0000 Subject: [PATCH] drivers: pva: Disable carveout for GEN3. GSC path has not been enabled for gen3, use carveout disabled settings by default. Jira PVAAS-13339 Signed-off-by: Amruta Sai Anusha Bhamidipati Change-Id: Ifc3ef8154f8ab71b529421137683fb910ccdaac7 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2941708 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2999156 Reviewed-by: Omar Nemri Tested-by: Omar Nemri GVS: Gerrit_Virtual_Submit --- drivers/video/tegra/host/pva/pva.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/tegra/host/pva/pva.c b/drivers/video/tegra/host/pva/pva.c index 6544dc1c..09352565 100644 --- a/drivers/video/tegra/host/pva/pva.c +++ b/drivers/video/tegra/host/pva/pva.c @@ -1267,7 +1267,7 @@ static int pva_probe(struct platform_device *pdev) #ifdef CONFIG_PVA_CO_DISABLED pva->boot_from_file = true; #else - if (pdata->version == PVA_HW_GEN1) + if ((pdata->version == PVA_HW_GEN1) || (pdata->version == PVA_HW_GEN3)) pva->boot_from_file = true; else pva->boot_from_file = false;