msm: camera: ife: Assign half the height value for cbcr plane
This change adds a check for plane ID when updating write master height value in per frame blob. Plane C must be programmed with half the height. CRs-Fixed: 2626999 Change-Id: I44b4d69d9d330342c444bbe435c6a54ad9f3bd6f Signed-off-by: Venkat Chinta <vchinta@codeaurora.org>
This commit is contained in:
@@ -3527,9 +3527,13 @@ static int cam_vfe_bus_ver3_update_wm_config(
|
||||
}
|
||||
|
||||
wm_data->en_cfg = (wm_config->wm_mode << 16) | 0x1;
|
||||
wm_data->height = wm_config->height;
|
||||
wm_data->width = wm_config->width;
|
||||
|
||||
if (i == PLANE_C)
|
||||
wm_data->height = wm_config->height / 2;
|
||||
else
|
||||
wm_data->height = wm_config->height;
|
||||
|
||||
CAM_DBG(CAM_ISP,
|
||||
"WM:%d en_cfg:0x%X height:%d width:%d",
|
||||
wm_data->index, wm_data->en_cfg, wm_data->height,
|
||||
|
Reference in New Issue
Block a user