Skip to content

Commit

Permalink
Revert "msm: camerav2: isp: Allocate UB for all source types"
Browse files Browse the repository at this point in the history
As of this 0629a55, we need to revert it to prevent random green screen in gcam.
This reverts commit b6b377f.

Signed-off-by: khusika <khusikadhamar@gmail.com>
  • Loading branch information
khusika committed Oct 13, 2018
1 parent 0629a55 commit cf0e554
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/media/platform/msm/camera_v2/isp/msm_isp40.c
Original file line number Diff line number Diff line change
Expand Up @@ -1535,7 +1535,6 @@ static void msm_vfe40_update_camif_state(struct vfe_device *vfe_dev,
msm_camera_io_w_mb((update_state == DISABLE_CAMIF ? 0x0 : 0x6),
vfe_dev->vfe_base + 0x2F4);
vfe_dev->axi_data.src_info[VFE_PIX_0].active = 0;
vfe_dev->axi_data.src_info[VFE_PIX_0].flag = 0;
/* testgen OFF*/
if (vfe_dev->axi_data.src_info[VFE_PIX_0].input_mux == TESTGEN)
msm_camera_io_w(1 << 1, vfe_dev->vfe_base + 0x93C);
Expand Down
3 changes: 2 additions & 1 deletion drivers/media/platform/msm/camera_v2/isp/msm_isp47.c
Original file line number Diff line number Diff line change
Expand Up @@ -1739,7 +1739,8 @@ void msm_vfe47_cfg_axi_ub_equal_default(
vfe_dev->hw_info->vfe_ops.axi_ops.
ub_reg_offset(vfe_dev, i));
}
if (!axi_data->free_wm[i])
if (!axi_data->free_wm[i] || frame_src != SRC_TO_INTF(
HANDLE_TO_IDX(axi_data->free_wm[i])))
continue;

if (frame_src == VFE_PIX_0) {
Expand Down

0 comments on commit cf0e554

Please sign in to comment.