[PATCH 0/2] media: cedrus: allocation failure and capture payload fixes

From: Arun Iyengar via B4 Relay

Date: Thu Nov 19 2026 - 11:34:57 EST


Two cedrus fixes, found on an Orange Pi Zero2 (H616) and reproduced on
media-committers next. Patch 2 concerns the private plane of Jernej
Skrabec's 10-bit HEVC support.

Tested on H616 only: 17 x 64 MiB REQBUFS gives 12 buffers and no OOM
kill (next: five processes killed); 10-bit H.265 bytesused 12441600
(next: 15552000); v4l2-compliance 49/49; MPEG-2, H.264 and H.265
bit-exact.

Developed with Claude (Anthropic) as a coding assistant, which wrote
the code and the commit messages. I reviewed and tested them.

---
Arun Iyengar (2):
media: cedrus: fail buffer allocations that do not fit with -ENOMEM
media: cedrus: report only the picture as capture payload

drivers/staging/media/sunxi/cedrus/cedrus_video.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
---
base-commit: aa0f4c41d4870a18e65772a1817af16427200371
change-id: 20261114-b4-cedrus-generic-fixes-8ce71c2dafd5

Best regards,
--
Arun Iyengar <aiyengar1990@xxxxxxxxx>