[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250410-rk3588-hdmirx-sequence-v1-0-aad3f216d351@collabora.com>
Date: Thu, 10 Apr 2025 16:43:45 -0400
From: Nicolas Dufresne <nicolas.dufresne@...labora.com>
To: Shreeya Patel <shreeya.patel@...labora.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Dmitry Osipenko <dmitry.osipenko@...labora.com>,
Hans Verkuil <hverkuil@...all.nl>, Dingxian Wen <shawn.wen@...k-chips.com>
Cc: linux-media@...r.kernel.org, kernel@...labora.com,
linux-kernel@...r.kernel.org,
Nicolas Dufresne <nicolas.dufresne@...labora.com>
Subject: [PATCH 0/2] media: synopsys: hdmirx: Report frame drops
Frame drops are common problem with live captures. This is most of
the time due to buffer starvation introduced by userspace. The
v4l2_buffer.sequence allows detecting gaps (drops), which allows
userspace to report it. The new HDMI receiver driver on RK3588
did not report these properly.
With this in place, drops will be warned by GStreamer notably, with a
trace similar to:
WARN [...]:<v4l2src0> lost frames detected: count = 1 - ts: 0:00:03.063493047
A QoS message is also sent to the application, which can be used to
gather statistics.
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@...labora.com>
---
Nicolas Dufresne (2):
media: synopsys: hdmirx: Renamed frame_idx to sequence
media: synopsys: hdmirx: Count dropped frames
drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
base-commit: 9ddc3d6c16ea2587898a315f20f7b8fbd791dc1b
change-id: 20250410-rk3588-hdmirx-sequence-a470b604d176
Best regards,
--
Nicolas Dufresne <nicolas.dufresne@...labora.com>
Powered by blists - more mailing lists