msm: camera: common: Add support for DRV config
Add DRV config blob handling for programming required registers per request. Also, add debugfs entry for disabling DRV feature from ife hw manager. Update existing BW voting logs to reflect DRV vote level info. Add support for communicating with rsc device upon update in MNOC BW. Also, update BW voting logic in cpas to accommodate DRV voting to interconnect framework. CRs-Fixed: 3065551 Change-Id: I8ac4820b7af824f5ff46614ae6804001deca9b01 Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
This commit is contained in:

committed by
Camera Software Integration

szülő
c73578236c
commit
65878f05bb
@@ -750,6 +750,19 @@ const char *cam_cpas_axi_util_path_type_to_string(
|
||||
const char *cam_cpas_axi_util_trans_type_to_string(
|
||||
uint32_t path_data_type);
|
||||
|
||||
/**
|
||||
* cam_cpas_axi_util_drv_vote_lvl_to_string()
|
||||
*
|
||||
* @brief: API to get string for given DRV vote level
|
||||
*
|
||||
* @vote_lvl : DRV vote level
|
||||
*
|
||||
* @return string.
|
||||
*
|
||||
*/
|
||||
const char *cam_cpas_axi_util_drv_vote_lvl_to_string(
|
||||
uint32_t vote_lvl);
|
||||
|
||||
/**
|
||||
* cam_cpas_log_votes()
|
||||
*
|
||||
@@ -838,4 +851,40 @@ int cam_cpas_deactivate_llcc(enum cam_sys_cache_config_types type);
|
||||
*/
|
||||
int cam_cpas_dump_camnoc_buff_fill_info(uint32_t client_handle);
|
||||
|
||||
/**
|
||||
* cam_cpas_csid_input_core_info_update()
|
||||
*
|
||||
* @brief: API to communicate csid input core info to cpas
|
||||
*
|
||||
* @csid_idx: csid hw index connected to particular sfe
|
||||
* @sfe_idx: sfe idx to be connected to particular DRV path
|
||||
* @set_port: Indicates whether to set or reset DRV port info in dynamic client
|
||||
*
|
||||
* @return 0 on success
|
||||
*
|
||||
*/
|
||||
int cam_cpas_csid_input_core_info_update(int csid_idx, int sfe_idx, bool set_port);
|
||||
|
||||
/**
|
||||
* cam_cpas_csid_process_resume()
|
||||
*
|
||||
* @brief: API to process csid resume in cpas
|
||||
* @csid_idx: CSID idx to notify resume for
|
||||
*
|
||||
* @return 0 on success
|
||||
*
|
||||
*/
|
||||
int cam_cpas_csid_process_resume(uint32_t csid_idx);
|
||||
|
||||
/**
|
||||
* cam_cpas_query_drv_enable()
|
||||
*
|
||||
* @brief: API to indicate DRV enabled on hw or not
|
||||
* @is_drv_enabled: Indication to be set by the API
|
||||
*
|
||||
* @return 0 on success
|
||||
*
|
||||
*/
|
||||
int cam_cpas_query_drv_enable(bool *is_drv_enabled);
|
||||
|
||||
#endif /* _CAM_CPAS_API_H_ */
|
||||
|
Reference in New Issue
Block a user