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

Commit cb1341b5 authored by Karthik Jayakumar's avatar Karthik Jayakumar Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: jpeg: Add plane stride & slice height debug info



Add plane stride and slice height to debug info for verifying
JPEG buffer configuration.

CRs-Fixed: 2542420
Change-Id: I67fbb0a0da9104b4f9c412a558b62149abb8aec9
Signed-off-by: default avatarKarthik Jayakumar <kjayakum@codeaurora.org>
parent 04cf1dd4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -663,15 +663,15 @@ static void cam_jpeg_mgr_print_io_bufs(struct cam_packet *packet,
			}

			CAM_INFO(CAM_JPEG,
				"pln %d w %d h %d size %d addr 0x%x offset 0x%x memh %x",
				"pln %u w %u h %u stride %u slice %u size %d addr 0x%x offset 0x%x memh %x",
				j, io_cfg[i].planes[j].width,
				io_cfg[i].planes[j].height,
				io_cfg[i].planes[j].plane_stride,
				io_cfg[i].planes[j].slice_height,
				(int32_t)src_buf_size,
				(unsigned int)iova_addr,
				io_cfg[i].offsets[j],
				io_cfg[i].mem_handle[j]);

			iova_addr += io_cfg[i].offsets[j];
		}
	}
}