mirror of
https://github.com/torvalds/linux.git
synced 2026-04-30 20:42:33 -04:00
media: rkisp1: debug: Count completed frame interrupts
Add a counter to debugfs to count the number of frame-end interrupts. Link: https://lore.kernel.org/r/20231201140433.2126011-4-paul.elder@ideasonboard.com Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
adf1cba7c8
commit
af58c2d9d3
@@ -221,6 +221,8 @@ void rkisp1_debug_init(struct rkisp1_device *rkisp1)
|
||||
&debug->frame_drop[RKISP1_MAINPATH]);
|
||||
debugfs_create_ulong("sp_frame_drop", 0444, debug->debugfs_dir,
|
||||
&debug->frame_drop[RKISP1_SELFPATH]);
|
||||
debugfs_create_ulong("complete_frames", 0444, debug->debugfs_dir,
|
||||
&debug->complete_frames);
|
||||
debugfs_create_file("input_status", 0444, debug->debugfs_dir, rkisp1,
|
||||
&rkisp1_debug_input_status_fops);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user