summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2025-09-22 14:43:39 -0400
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-10-20 09:23:17 +0200
commit47825b1646a6a9eca0f90baa3d4f98947c2add96 (patch)
tree65543830f808c7083b07264fefe6d43aa36cf600 /tools/perf/scripts/python/bin
parent19c286b755072a22a063052f530a6b1fac8a1f63 (diff)
downloadlinux-47825b1646a6a9eca0f90baa3d4f98947c2add96.tar.gz
linux-47825b1646a6a9eca0f90baa3d4f98947c2add96.zip
media: verisilicon: Protect G2 HEVC decoder against invalid DPB index
Fix the Hantro G2 HEVC decoder so that we use DPB index 0 whenever a ninvalid index is received from user space. This protects the hardware from doing faulty memory access which then leads to bus errors. To be noted that when a reference is missing, userspace such as GStreamer passes an invalid DPB index of 255. This issue was found by seeking to a CRA picture using GStreamer. The framework is currently missing the code to skip over RASL pictures placed after the CRA. This situation can also occur while doing live streaming over lossy transport. Fixes: cb5dd5a0fa518 ("media: hantro: Introduce G2/HEVC decoder") Cc: stable@vger.kernel.org Reviewed-by: Benjamin Gaignard <benjamin.gaignard@collabora.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions