Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcaaa6cd authored by Wei Tan's avatar Wei Tan Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: ife: Support max 7 cameras streaming on XR2



Increase IFE usecase and max number of session links
to support XR2 multi cameras concurrently stream.

CRs-Fixed: 2707698
Change-Id: Iaff18e7320ff230daf33b0b21b742796213427c9
Signed-off-by: default avatarWei Tan <weitan@codeaurora.org>
parent 2a26f41c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1335,6 +1335,10 @@ static int cam_convert_hw_idx_to_ife_hw_num(int hw_idx)
				return CAM_ISP_IFE1_LITE_HW;
			else if (hw_idx == 4)
				return CAM_ISP_IFE2_LITE_HW;
			else if (hw_idx == 5)
				return CAM_ISP_IFE3_LITE_HW;
			else if (hw_idx == 6)
				return CAM_ISP_IFE4_LITE_HW;
			break;
		case CAM_CPAS_TITAN_170_V200:
			if (hw_idx == 0)
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@

#define SYNC_LINK_SOF_CNT_MAX_LMT 1

#define MAXIMUM_LINKS_PER_SESSION  4
#define MAXIMUM_LINKS_PER_SESSION  7

#define MAXIMUM_RETRY_ATTEMPTS 2

+2 −0
Original line number Diff line number Diff line
@@ -113,6 +113,8 @@
#define CAM_ISP_IFE0_LITE_HW     0x4
#define CAM_ISP_IFE1_LITE_HW     0x8
#define CAM_ISP_IFE2_LITE_HW     0x10
#define CAM_ISP_IFE3_LITE_HW     0x20
#define CAM_ISP_IFE4_LITE_HW     0x40
#define CAM_ISP_IFE2_HW          0x100

#define CAM_ISP_PXL_PATH          0x1