msm: camera: isp: Add new CDM BL Type
Add new common CDM BL type to update rup, change base and go cmd hw update entries. CRs-Fixed: 3045706 Change-Id: Ie008e8ac4b79a3a66323a2fed9fcea657f6368b6 Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
51cd1a4e0c
commit
361f1cf006
@@ -66,8 +66,8 @@ int cam_isp_add_change_base(
|
||||
hw_entry[num_ent].len = get_base.cmd.used_bytes;
|
||||
hw_entry[num_ent].offset = kmd_buf_info->offset;
|
||||
|
||||
/* Marking change base as IOCFG to reapply on bubble */
|
||||
hw_entry[num_ent].flags = CAM_ISP_IOCFG_BL;
|
||||
/* Marking change base as COMMON_CFG */
|
||||
hw_entry[num_ent].flags = CAM_ISP_COMMON_CFG_BL;
|
||||
CAM_DBG(CAM_ISP,
|
||||
"num_ent=%d handle=0x%x, len=%u, offset=%u",
|
||||
num_ent,
|
||||
@@ -1238,8 +1238,8 @@ int cam_isp_add_reg_update(
|
||||
prepare->hw_update_entries[num_ent].offset =
|
||||
kmd_buf_info->offset;
|
||||
|
||||
/* Marking reg update as IOCFG to reapply on bubble */
|
||||
prepare->hw_update_entries[num_ent].flags = CAM_ISP_IOCFG_BL;
|
||||
/* Marking reg update as COMMON */
|
||||
prepare->hw_update_entries[num_ent].flags = CAM_ISP_COMMON_CFG_BL;
|
||||
CAM_DBG(CAM_ISP,
|
||||
"num_ent=%d handle=0x%x, len=%u, offset=%u",
|
||||
num_ent,
|
||||
@@ -1333,7 +1333,7 @@ int cam_isp_add_go_cmd(
|
||||
prepare->hw_update_entries[num_ent].len = reg_update_size;
|
||||
prepare->hw_update_entries[num_ent].offset =
|
||||
kmd_buf_info->offset;
|
||||
prepare->hw_update_entries[num_ent].flags = CAM_ISP_IOCFG_BL;
|
||||
prepare->hw_update_entries[num_ent].flags = CAM_ISP_COMMON_CFG_BL;
|
||||
CAM_DBG(CAM_ISP,
|
||||
"num_ent=%d handle=0x%x, len=%u, offset=%u",
|
||||
num_ent,
|
||||
@@ -1748,8 +1748,8 @@ int cam_isp_add_csid_reg_update(
|
||||
prepare->hw_update_entries[num_ent].offset =
|
||||
kmd_buf_info->offset;
|
||||
|
||||
/* Marking reg update as IOCFG to reapply on bubble */
|
||||
prepare->hw_update_entries[num_ent].flags = CAM_ISP_IOCFG_BL;
|
||||
/* Marking reg update as COMMON */
|
||||
prepare->hw_update_entries[num_ent].flags = CAM_ISP_COMMON_CFG_BL;
|
||||
CAM_DBG(CAM_ISP,
|
||||
"num_ent=%d handle=0x%x, len=%u, offset=%u",
|
||||
num_ent,
|
||||
@@ -1846,8 +1846,8 @@ go_cmd_added:
|
||||
prepare->hw_update_entries[num_ent].offset =
|
||||
kmd_buf_info->offset;
|
||||
|
||||
/* Marking go update as IOCFG to reapply on bubble */
|
||||
prepare->hw_update_entries[num_ent].flags = CAM_ISP_IOCFG_BL;
|
||||
/* Marking go update as COMMON */
|
||||
prepare->hw_update_entries[num_ent].flags = CAM_ISP_COMMON_CFG_BL;
|
||||
CAM_DBG(CAM_ISP,
|
||||
"num_ent=%d handle=0x%x, len=%u, offset=%u",
|
||||
num_ent,
|
||||
|
@@ -14,9 +14,10 @@
|
||||
#include "cam_packet_util.h"
|
||||
#include "cam_cdm_intf_api.h"
|
||||
|
||||
/* enum cam_isp_cdm_bl_type - isp cdm packet type*/
|
||||
/* enum cam_isp_cdm_bl_type - isp cdm packet type */
|
||||
enum cam_isp_cdm_bl_type {
|
||||
CAM_ISP_UNUSED_BL,
|
||||
CAM_ISP_COMMON_CFG_BL,
|
||||
CAM_ISP_IQ_BL,
|
||||
CAM_ISP_IOCFG_BL,
|
||||
CAM_ISP_BL_MAX,
|
||||
|
Reference in New Issue
Block a user