From bfdaaba4eb92cb5884038fa77e0407bf116ceb02 Mon Sep 17 00:00:00 2001 From: Mukund Madhusudan Atre Date: Mon, 11 May 2020 13:12:40 -0700 Subject: [PATCH] msm: camera: sync: Increase number of fences in sync Some mfhdr usecases require more than 1024 fences because of delayed request processing and bypass. Increase maximum number of fences or sync objects to 2048. CRs-Fixed: 2598592 Change-Id: If11fa2986fce0cd97c14370d29a117230134d6f5 Signed-off-by: Mukund Madhusudan Atre --- drivers/cam_sync/cam_sync_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cam_sync/cam_sync_private.h b/drivers/cam_sync/cam_sync_private.h index a8612fdcd7..2cd8917758 100644 --- a/drivers/cam_sync/cam_sync_private.h +++ b/drivers/cam_sync/cam_sync_private.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. */ #ifndef __CAM_SYNC_PRIVATE_H__ @@ -24,7 +24,7 @@ #endif #define CAM_SYNC_OBJ_NAME_LEN 64 -#define CAM_SYNC_MAX_OBJS 1024 +#define CAM_SYNC_MAX_OBJS 2048 #define CAM_SYNC_MAX_V4L2_EVENTS 100 #define CAM_SYNC_DEBUG_FILENAME "cam_debug" #define CAM_SYNC_DEBUG_BASEDIR "cam"