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

Commit cce98cbb authored by Karthik Anantha Ram's avatar Karthik Anantha Ram Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: Add stride info as part of pf dump



As part of dumping the io_config when a page fault is
encountered dump the stride info along with the other
io config information.

Change-Id: Ifb2a4a2b8a3439f7b8292858c2ac7e0aef980b6a
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent 8391e3a5
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -3847,9 +3847,11 @@ static void cam_icp_mgr_print_io_bufs(struct cam_packet *packet,
			}
			}


			CAM_INFO(CAM_ICP,
			CAM_INFO(CAM_ICP,
				"pln %d w %d h %d size %d addr 0x%x offset 0x%x memh %x",
				"pln %d w %d h %d s %u sh %u size %d addr 0x%x offset 0x%x memh %x",
				j, io_cfg[i].planes[j].width,
				j, io_cfg[i].planes[j].width,
				io_cfg[i].planes[j].height,
				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,
				(int32_t)src_buf_size,
				(unsigned int)iova_addr,
				(unsigned int)iova_addr,
				io_cfg[i].offsets[j],
				io_cfg[i].offsets[j],
+2 −1
Original line number Original line Diff line number Diff line
@@ -3369,9 +3369,10 @@ static void cam_ife_mgr_print_io_bufs(struct cam_packet *packet,
			}
			}


			CAM_INFO(CAM_ISP,
			CAM_INFO(CAM_ISP,
				"pln %d w %d h %d s 0x%x addr 0x%x end_addr 0x%x offset %x memh %x",
				"pln %d w %d h %d s %u size 0x%x addr 0x%x end_addr 0x%x offset %x memh %x",
				j, io_cfg[i].planes[j].width,
				j, io_cfg[i].planes[j].width,
				io_cfg[i].planes[j].height,
				io_cfg[i].planes[j].height,
				io_cfg[i].planes[j].plane_stride,
				(unsigned int)src_buf_size,
				(unsigned int)src_buf_size,
				(unsigned int)iova_addr,
				(unsigned int)iova_addr,
				(unsigned int)iova_addr +
				(unsigned int)iova_addr +