From 77f9756fb422e565498db1f9deb293f07f090f2c Mon Sep 17 00:00:00 2001 From: koenz Date: Thu, 1 Feb 2024 06:29:17 +0000 Subject: [PATCH] driver:misc:mods: Increase max mods SMMU devices to 32 - More tested IPs require alloc memory through SMMU Bug 4467535 Signed-off-by: Koen Zhao Change-Id: I41ac88d01ecbe640082ba4c70607cb701ad4f3f5 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3067676 Reviewed-by: Chris Dragan Reviewed-by: Bharat Nihalani GVS: Gerrit_Virtual_Submit --- drivers/misc/mods/mods_smmu_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/mods/mods_smmu_drv.c b/drivers/misc/mods/mods_smmu_drv.c index ac062633..addcd712 100644 --- a/drivers/misc/mods/mods_smmu_drv.c +++ b/drivers/misc/mods/mods_smmu_drv.c @@ -17,7 +17,7 @@ #include #include "mods_internal.h" -#define MODS_MAX_SMMU_DEVICES 16 +#define MODS_MAX_SMMU_DEVICES 32 static struct mods_smmu_dev mods_smmu_devs[MODS_MAX_SMMU_DEVICES]; static int mods_smmu_dev_num;