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

Commit f663549f authored by Harsh Shah's avatar Harsh Shah
Browse files

msm: camera: isp: Camif Raw dump config update



Camif Raw dump needs to have alignment bit set to LSB
aligned in pack mode. Without this the colors can look
wrong.

Change-Id: Ia5bac3d9665656fbb48bbbf32bfd4e60c0c8c428
Signed-off-by: default avatarHarsh Shah <harshs@codeaurora.org>
parent c6d00752
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -992,6 +992,9 @@ static int cam_vfe_bus_acquire_wm(
		rsrc_data->width = rsrc_data->width * 2;
		rsrc_data->stride = rsrc_data->width;
		rsrc_data->en_cfg = 0x1;

		/* LSB aligned */
		rsrc_data->pack_fmt |= 0x10;
	}  else {
		/* Write master 5-6 DS ports, 10 PDAF */
		uint32_t align_width;