From f0ebe2c0832ceff1854e6ad8e247f073d15e6766 Mon Sep 17 00:00:00 2001 From: SangHyun Sim Date: Tue, 19 Jun 2018 17:57:21 +0900 Subject: [PATCH] [COMMON] fimc-is2: add to check MCSC irq time for debugging Change-Id: I1287b16e21ecb1ff22d1345beec77da7f2e7e0eb Signed-off-by: SangHyun Sim --- .../platform/exynos/fimc-is2/hardware/fimc-is-hw-mcscaler-v2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-mcscaler-v2.c b/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-mcscaler-v2.c index 4f723084e3af..17f354145fb1 100644 --- a/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-mcscaler-v2.c +++ b/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-mcscaler-v2.c @@ -107,6 +107,9 @@ static int fimc_is_hw_mcsc_handle_interrupt(u32 id, void *context) hw_ip->cur_e_int++; if (hw_ip->cur_e_int >= hw_ip->num_buffers) { fimc_is_hw_mcsc_frame_done(hw_ip, NULL, IS_SHOT_SUCCESS); + dbg_isr("[F:%d][S-E] %05llu us\n", hw_ip, hw_fcount, + (hw_ip->debug_info[index].time[DEBUG_POINT_FRAME_END] - + hw_ip->debug_info[index].time[DEBUG_POINT_FRAME_START]) / 1000); if (!atomic_read(&hardware->streaming[hardware->sensor_position[instance]])) sinfo_hw("[F:%d]F.E\n", hw_ip, hw_fcount); -- 2.20.1