From: Arun Iyengar via B4 Relay <devnull+aiyengar1990.gmail.com@kernel.org>
To: Nicolas Dufresne <nicolas.dufresne@collabora.com>,
Benjamin Gaignard <benjamin.gaignard@collabora.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Heiko Stuebner <heiko@sntech.de>,
Hans Verkuil <hverkuil@kernel.org>
Cc: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org,
Arun Iyengar <aiyengar1990@gmail.com>
Subject: [PATCH v2 0/2] media: verisilicon: Fix the VPU981 line stride and minimum size
Date: Sat, 05 Dec 2026 09:47:05 +0000 [thread overview]
Message-ID: <20261205-av1-ref-stride-v2-0-e8bd05192673@gmail.com> (raw)
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>
WARNING: multiple messages have this Message-ID (diff)
From: Arun Iyengar <aiyengar1990@gmail.com>
To: Nicolas Dufresne <nicolas.dufresne@collabora.com>,
Benjamin Gaignard <benjamin.gaignard@collabora.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Heiko Stuebner <heiko@sntech.de>,
Hans Verkuil <hverkuil@kernel.org>
Cc: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org,
Arun Iyengar <aiyengar1990@gmail.com>
Subject: [PATCH v2 0/2] media: verisilicon: Fix the VPU981 line stride and minimum size
Date: Sat, 05 Dec 2026 09:47:05 +0000 [thread overview]
Message-ID: <20261205-av1-ref-stride-v2-0-e8bd05192673@gmail.com> (raw)
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>
WARNING: multiple messages have this Message-ID (diff)
From: Arun Iyengar via B4 Relay <devnull+aiyengar1990.gmail.com@kernel.org>
To: Nicolas Dufresne <nicolas.dufresne@collabora.com>,
Benjamin Gaignard <benjamin.gaignard@collabora.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Heiko Stuebner <heiko@sntech.de>,
Hans Verkuil <hverkuil@kernel.org>
Cc: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org,
Arun Iyengar <aiyengar1990@gmail.com>
Subject: [PATCH v2 0/2] media: verisilicon: Fix the VPU981 line stride and minimum size
Date: Sat, 05 Dec 2026 09:47:05 +0000 [thread overview]
Message-ID: <20261205-av1-ref-stride-v2-0-e8bd05192673@gmail.com> (raw)
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>
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next reply other threads:[~2026-12-05 9:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-05 9:47 Arun Iyengar via B4 Relay [this message]
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 ` Arun Iyengar
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 ` Arun Iyengar via B4 Relay
2026-12-05 9:47 ` Arun Iyengar
2026-12-05 9:47 ` [PATCH v2 2/2] media: verisilicon: av1: Lower the VPU981 minimum size to 16x16 Arun Iyengar via B4 Relay
2026-12-05 9:47 ` Arun Iyengar via B4 Relay
2026-12-05 9:47 ` Arun Iyengar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261205-av1-ref-stride-v2-0-e8bd05192673@gmail.com \
--to=devnull+aiyengar1990.gmail.com@kernel.org \
--cc=aiyengar1990@gmail.com \
--cc=benjamin.gaignard@collabora.com \
--cc=heiko@sntech.de \
--cc=hverkuil@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mchehab@kernel.org \
--cc=nicolas.dufresne@collabora.com \
--cc=p.zabel@pengutronix.de \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.