浏览代码

msm: camera: isp: Pack the data for plain128

If csid doesn't give unpacked msb out, packing needs
to be done at csid side for plain128 in order to
enable RPP subpath.

CRs-Fixed: 3198208
Change-Id: I9b228382804a9eb41d45b6d7bf6433bcfd4b4e40
Signed-off-by: Depeng Shao <[email protected]>
Depeng Shao 3 年之前
父节点
当前提交
94ac5049af
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_common.c

+ 1 - 1
drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_common.c

@@ -270,12 +270,12 @@ int cam_ife_csid_get_format_rdi(
 	case CAM_FORMAT_MIPI_RAW_6:
 	case CAM_FORMAT_MIPI_RAW_8:
 	case CAM_FORMAT_YUV422:
+	case CAM_FORMAT_PLAIN128:
 		if (mipi_unpacked)
 			path_format->plain_fmt = 0x0;
 		else
 			path_format->packing_fmt = 0x1;
 		break;
-	case CAM_FORMAT_PLAIN128:
 	case CAM_FORMAT_PLAIN8:
 		path_format->plain_fmt = 0x0;
 		break;