Jelajahi Sumber

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 <[email protected]>
Mukund Madhusudan Atre 5 tahun lalu
induk
melakukan
bfdaaba4eb
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      drivers/cam_sync/cam_sync_private.h

+ 2 - 2
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"