From cb1341b56b2a7ef13d4908b8a02b3a470595034b Mon Sep 17 00:00:00 2001 From: Karthik Jayakumar Date: Tue, 1 Oct 2019 15:21:35 -0700 Subject: [PATCH] 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: Karthik Jayakumar --- drivers/cam_jpeg/jpeg_hw/cam_jpeg_hw_mgr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/cam_jpeg/jpeg_hw/cam_jpeg_hw_mgr.c b/drivers/cam_jpeg/jpeg_hw/cam_jpeg_hw_mgr.c index 9f331d46..27a12377 100644 --- a/drivers/cam_jpeg/jpeg_hw/cam_jpeg_hw_mgr.c +++ b/drivers/cam_jpeg/jpeg_hw/cam_jpeg_hw_mgr.c @@ -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]; } } }