Skip to content

media: verisilicon: Fix the VPU981 line stride and minimum size

Arun Iyengar b4-sent linux-arm-kernel linux-media linux-rockchip lkml stable 1 version New

Get series with b4
b4 am [email protected] change-id 20261130-av1-ref-stride-9635a02756d5

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2media: verisilicon: Match the VPU981 line stridedrivers/media/platform/verisilicon/hantro.h drivers/media/platform/verisilicon/hantro_av1.c drivers/media/platform/verisilicon/hantro_v4l2.c +1 more+17 -110 replies
2/2media: verisilicon: av1: Lower the VPU981 minimum size to 16x16drivers/media/platform/verisilicon/rockchip_vpu_hw.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] media: verisilicon: Fix the VPU981 line stride and minimum size

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.

---
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,

Signature · 1 line
Arun Iyengar <[email protected]>