[COMMON] fimc-is2: add to check VRA irq time for debugging
authorSangHyun Sim <sanghyun.sim@samsung.com>
Tue, 19 Jun 2018 08:57:04 +0000 (17:57 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:51 +0000 (20:22 +0300)
Change-Id: Ia6f484eeaf2087d11ceeac4ba655f6525fb9eac5
Signed-off-by: SangHyun Sim <sanghyun.sim@samsung.com>
drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-vra.c

index ed6e4ebb5fd6bc2c86e7901f3022a2c9967c3f61..83033ea57d3a5a9878c8a9d19b2724c053be4545 100644 (file)
@@ -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);