mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Merge "msm: ais: acquire init_frame_drop from userspace"
This commit is contained in:
commit
2d03b3fcfb
@ -570,6 +570,7 @@ static int ais_ife_csid_config_rdi_path(
|
||||
path_cfg->end_line = res->in_cfg.crop_bottom;
|
||||
path_cfg->decode_fmt = res->in_cfg.decode_format;
|
||||
path_cfg->plain_fmt = res->in_cfg.pack_type;
|
||||
path_cfg->init_frame_drop = res->in_cfg.init_frame_drop;
|
||||
|
||||
if (path_cfg->decode_fmt == 0xF)
|
||||
path_cfg->pix_enable = false;
|
||||
@ -822,8 +823,6 @@ static int ais_ife_csid_enable_rdi_path(
|
||||
csid_reg = csid_hw->csid_info->csid_reg;
|
||||
soc_info = &csid_hw->hw_info->soc_info;
|
||||
path_data = &csid_hw->rdi_cfg[id];
|
||||
|
||||
path_data->init_frame_drop = 1;
|
||||
path_data->sof_cnt = 0;
|
||||
|
||||
/* Enable the required RDI interrupts */
|
||||
|
@ -270,6 +270,7 @@ struct ais_ife_rdi_in_cfg {
|
||||
uint32_t crop_bottom;
|
||||
uint32_t crop_left;
|
||||
uint32_t crop_right;
|
||||
uint32_t init_frame_drop;
|
||||
uint32_t reserved;
|
||||
};
|
||||
|
||||
|
@ -1137,7 +1137,7 @@ static int ais_vfe_dispatch_irq(struct cam_hw_info *vfe_hw,
|
||||
core_info = (struct ais_vfe_hw_core_info *)vfe_hw->core_info;
|
||||
|
||||
CAM_DBG(CAM_ISP, "VFE[%d] event %d",
|
||||
core_info->vfe_idx, work_data->evt_type);
|
||||
core_info->vfe_idx, p_work->evt_type);
|
||||
|
||||
task = cam_req_mgr_workq_get_task(core_info->workq);
|
||||
if (!task) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user