[PATCH 0/2] media: cedrus: fix HEVC decoding

From: Jernej Skrabec
Date: Wed Jun 15 2022 - 16:45:03 EST


After detailed comparison of register names to vendor library I noticed
that one register has completely different name. After some testing I
discovered that it was misnamed and used incorrectly. This patch series
fixes it. With that, 3 more reference bitstreams are now correctly
decoded. It is also possible that this fixes instability issue I had
after decoding such bitstreams. Running Fluster test suite very often
locked up my board, but after applying this fix, I never experienced it
again. It might still be completely coincidental, but I doubt this is
the case.

Note: Patch 2 clashes with HEVC uAPI destaging. In current form, it can
be easily backported. However, there are few users of Cedrus HEVC and
skipping this fix wouldn't be that bad.

Please let me know which way to go:
1) wait for destaging, send rebased v2 and not care about backporting
2) merge before destaging, but v9 of HEVC uAPI destaging would need to
be rebased.
3) something else?

Best regards,
Jernej

Jernej Skrabec (2):
media: cedrus: h265: Fix flag name
media: cedrus: h265: Fix logic for not low delay flag

.../staging/media/sunxi/cedrus/cedrus_h265.c | 29 ++++++++++++++++++-
.../staging/media/sunxi/cedrus/cedrus_regs.h | 3 +-
2 files changed, 29 insertions(+), 3 deletions(-)

--
2.36.1