msm: camera: crm: Increase the device handles to 128
Increasing the device handles to 128 to support more pipelines. Change-Id: Id0322cba095091e6168d8541d432628d8422a641 Signed-off-by: Mangalaram ARCHANA <mangar@codeaurora.org> Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
4767766efb
commit
6761503d24
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
|
||||
/*
|
||||
* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __UAPI_LINUX_CAM_REQ_MGR_H
|
||||
@@ -40,6 +40,7 @@
|
||||
* It includes both session and device handles
|
||||
*/
|
||||
#define CAM_REQ_MGR_MAX_HANDLES 64
|
||||
#define CAM_REQ_MGR_MAX_HANDLES_V2 128
|
||||
#define MAX_LINKS_PER_SESSION 2
|
||||
|
||||
/* V4L event type which user space will subscribe to */
|
||||
@@ -126,6 +127,20 @@ struct cam_req_mgr_link_info {
|
||||
int32_t link_hdl;
|
||||
};
|
||||
|
||||
struct cam_req_mgr_link_info_v2 {
|
||||
int32_t session_hdl;
|
||||
uint32_t num_devices;
|
||||
int32_t dev_hdls[CAM_REQ_MGR_MAX_HANDLES_V2];
|
||||
int32_t link_hdl;
|
||||
};
|
||||
|
||||
struct cam_req_mgr_ver_info {
|
||||
uint32_t version;
|
||||
union {
|
||||
struct cam_req_mgr_link_info link_info_v1;
|
||||
struct cam_req_mgr_link_info_v2 link_info_v2;
|
||||
} u;
|
||||
};
|
||||
/**
|
||||
* struct cam_req_mgr_unlink_info
|
||||
* @session_hdl: input param - session handle
|
||||
@@ -235,6 +250,7 @@ struct cam_req_mgr_link_control {
|
||||
#define CAM_REQ_MGR_RELEASE_BUF (CAM_COMMON_OPCODE_MAX + 11)
|
||||
#define CAM_REQ_MGR_CACHE_OPS (CAM_COMMON_OPCODE_MAX + 12)
|
||||
#define CAM_REQ_MGR_LINK_CONTROL (CAM_COMMON_OPCODE_MAX + 13)
|
||||
#define CAM_REQ_MGR_LINK_V2 (CAM_COMMON_OPCODE_MAX + 14)
|
||||
/* end of cam_req_mgr opcodes */
|
||||
|
||||
#define CAM_MEM_FLAG_HW_READ_WRITE (1<<0)
|
||||
|
Reference in New Issue
Block a user