msm: camera: req_mgr: Increase v4l2 queue length

EIS have 6 fences per request and uses 15 frame window. On camera close
it signals ~90 fences at once. This can overflow v4l2 event queue.

Increase v4l2 queue length for sync events to prevent overflow.

CRs-Fixed: 2498880
Change-Id: Ie886318168e326c1525b4f8be5cacc5f70d0c477
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
This commit is contained in:
Trishansh Bhardwaj 2019-08-22 16:47:48 +05:30 committed by Gerrit - the friendly Code Review server
parent 9653879d63
commit f648ceeca6

View File

@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
*/
#ifndef __CAM_SYNC_PRIVATE_H__
@ -25,7 +25,7 @@
#define CAM_SYNC_OBJ_NAME_LEN 64
#define CAM_SYNC_MAX_OBJS 1024
#define CAM_SYNC_MAX_V4L2_EVENTS 50
#define CAM_SYNC_MAX_V4L2_EVENTS 100
#define CAM_SYNC_DEBUG_FILENAME "cam_debug"
#define CAM_SYNC_DEBUG_BASEDIR "cam"
#define CAM_SYNC_DEBUG_BUF_SIZE 32