Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] media: verisilicon: Fix the VPU981 line stride and minimum size
@ 2026-12-05  9:47 Arun Iyengar via B4 Relay
  2026-12-05  9:47 ` [PATCH v2 1/2] media: verisilicon: Match the VPU981 line stride Arun Iyengar via B4 Relay
  2026-12-05  9:47 ` [PATCH v2 2/2] media: verisilicon: av1: Lower the VPU981 minimum size to 16x16 Arun Iyengar via B4 Relay
  0 siblings, 2 replies; 3+ messages in thread
From: Arun Iyengar via B4 Relay @ 2026-12-05  9:47 UTC (permalink / raw)
  To: Nicolas Dufresne, Benjamin Gaignard, Philipp Zabel,
	Mauro Carvalho Chehab, Heiko Stuebner, Hans Verkuil
  Cc: linux-media, linux-rockchip, linux-kernel, linux-arm-kernel,
	stable, Arun Iyengar

Two cases where the format did not describe what the RK3588 AV1 decoder
writes: the 10-bit line stride, and frames narrower than 49 pixels.

Tested on an Orange Pi 5 (RK3588S), 7.3-based tree, under KASAN, against
libdav1d: 10-bit NV15_4L4 CAPTURE is bit-exact at widths 18, 36, 100,
200 and 328, with buffers of the reported sizeimage, and so is 10-bit
P010 through the post-processor at widths 200 and 328. No
AV1-TEST-VECTORS regression, av1-1-b10-23-film_grain-50 included.

Developed with Claude (Anthropic), which wrote the code and the commit
messages. I reviewed every change.

---
Changes in v2:
- 1/2: stable note: before 7d5e38c070e2, change the size check in
  rockchip_vpu981_av1_dec_prepare_run() to ref_fmt instead of dropping
  the hunk. Reported by Sashiko.
- Link to v1: https://patch.msgid.link/20261204-av1-ref-stride-v1-0-5d86fb6d6858@gmail.com

---
Arun Iyengar (2):
      media: verisilicon: Match the VPU981 line stride
      media: verisilicon: av1: Lower the VPU981 minimum size to 16x16

 drivers/media/platform/verisilicon/hantro.h          |  2 ++
 drivers/media/platform/verisilicon/hantro_av1.c      |  8 ++++----
 drivers/media/platform/verisilicon/hantro_v4l2.c     | 10 ++++++----
 drivers/media/platform/verisilicon/rockchip_vpu_hw.c | 10 ++++++----
 4 files changed, 18 insertions(+), 12 deletions(-)
---
base-commit: 95c189b26efb07257888ccf9d873a5c366aafbc6
change-id: 20261130-av1-ref-stride-9635a02756d5

Best regards,
--  
Arun Iyengar <aiyengar1990@gmail.com>




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-05  9:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-05  9:47 [PATCH v2 0/2] media: verisilicon: Fix the VPU981 line stride and minimum size Arun Iyengar via B4 Relay
2026-12-05  9:47 ` [PATCH v2 1/2] media: verisilicon: Match the VPU981 line stride Arun Iyengar via B4 Relay
2026-12-05  9:47 ` [PATCH v2 2/2] media: verisilicon: av1: Lower the VPU981 minimum size to 16x16 Arun Iyengar via B4 Relay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox