From b457f5fae557e4b000ab0a95f40d371c64bab64e Mon Sep 17 00:00:00 2001 From: Rishabh Jain Date: Fri, 11 Sep 2020 15:46:09 +0530 Subject: [PATCH] msm: camera: ope: Increase max bl limit Increase max bl limit for OPE to 24 to support maximum 48 stripes. CRs-Fixed: 2761455 Change-Id: I961be1344fac0084649df321225e94a50d4e5a98 Signed-off-by: Rishabh Jain --- drivers/cam_ope/ope_hw_mgr/cam_ope_hw_mgr.h | 2 +- drivers/cam_ope/ope_hw_mgr/ope_hw/ope_core.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/cam_ope/ope_hw_mgr/cam_ope_hw_mgr.h b/drivers/cam_ope/ope_hw_mgr/cam_ope_hw_mgr.h index 98d3587ac929..3d3d11598701 100644 --- a/drivers/cam_ope/ope_hw_mgr/cam_ope_hw_mgr.h +++ b/drivers/cam_ope/ope_hw_mgr/cam_ope_hw_mgr.h @@ -50,7 +50,7 @@ #define OPE_CMDS OPE_MAX_CMD_BUFS #define CAM_MAX_IN_RES 8 -#define OPE_MAX_CDM_BLS 16 +#define OPE_MAX_CDM_BLS 24 #define CAM_OPE_MAX_PER_PATH_VOTES 6 #define CAM_OPE_BW_CONFIG_UNKNOWN 0 diff --git a/drivers/cam_ope/ope_hw_mgr/ope_hw/ope_core.c b/drivers/cam_ope/ope_hw_mgr/ope_hw/ope_core.c index dee7186aad3d..922b5eab523e 100644 --- a/drivers/cam_ope/ope_hw_mgr/ope_hw/ope_core.c +++ b/drivers/cam_ope/ope_hw_mgr/ope_hw/ope_core.c @@ -393,6 +393,7 @@ static int cam_ope_dev_prepare_cdm_request( ope_request->ope_kmd_buf.offset; cdm_cmd->cmd[i].len = len; cdm_cmd->cmd[i].arbitrate = arbitrate; + cdm_cmd->cmd[i].enable_debug_gen_irq = false; cdm_cmd->cmd_arrary_count++;