From ae4af2bfb487a05cad7626fd18c1d6840ea37b95 Mon Sep 17 00:00:00 2001 From: SangHyun Sim Date: Tue, 19 Jun 2018 17:57:04 +0900 Subject: [PATCH] [COMMON] fimc-is2: add to check VRA irq time for debugging Change-Id: Ia6f484eeaf2087d11ceeac4ba655f6525fb9eac5 Signed-off-by: SangHyun Sim --- .../media/platform/exynos/fimc-is2/hardware/fimc-is-hw-vra.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-vra.c b/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-vra.c index ed6e4ebb5fd6..83033ea57d3a 100644 --- a/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-vra.c +++ b/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-vra.c @@ -39,6 +39,11 @@ void fimc_is_hw_vra_save_debug_info(struct fimc_is_hw_ip *hw_ip, index = hw_ip->debug_index[1]; hw_ip->debug_info[index].cpuid[DEBUG_POINT_FRAME_END] = raw_smp_processor_id(); hw_ip->debug_info[index].time[DEBUG_POINT_FRAME_END] = local_clock(); + + 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]])) msinfo_hw("[F:%d]F.E\n", instance, hw_ip, hw_fcount); -- 2.20.1