media: vsp1: Add underrun debug print
authorTomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Thu, 16 Feb 2023 09:41:15 +0000 (11:41 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 11 Apr 2023 15:53:14 +0000 (17:53 +0200)
commit1dc30075fb0fe02b74b1ea7fd1c1c734a89f1448
tree017e14e4b8bc15f3b1a1c77b52c39813820a6c7e
parent52d8caca3d533cc499f1255be25576ffd936ec95
media: vsp1: Add underrun debug print

Print underrun interrupts with ratelimited print.

Note that we don't enable the underrun interrupt. If we have underruns,
we don't want to get flooded with interrupts about them. It's enough to
see that an underrun happened at the end of a frame.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/renesas/vsp1/vsp1_drm.c
drivers/media/platform/renesas/vsp1/vsp1_drv.c
drivers/media/platform/renesas/vsp1/vsp1_pipe.h
drivers/media/platform/renesas/vsp1/vsp1_regs.h