From: SangHyun Sim Date: Tue, 19 Jun 2018 08:57:04 +0000 (+0900) Subject: [COMMON] fimc-is2: add to check VRA irq time for debugging X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ae4af2bfb487a05cad7626fd18c1d6840ea37b95;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] fimc-is2: add to check VRA irq time for debugging Change-Id: Ia6f484eeaf2087d11ceeac4ba655f6525fb9eac5 Signed-off-by: SangHyun Sim --- 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);