From: Arun Iyengar Date: Fri, 04 Dec 2026 07:12:32 +0000 Subject: [PATCH 2/2] media: verisilicon: av1: Lower the VPU981 minimum size to 16x16 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261204-av1-ref-stride-v1-2-5d86fb6d6858@gmail.com> References: <20261204-av1-ref-stride-v1-0-5d86fb6d6858@gmail.com> In-Reply-To: <20261204-av1-ref-stride-v1-0-5d86fb6d6858@gmail.com> To: Nicolas Dufresne , Benjamin Gaignard , Philipp Zabel , Mauro Carvalho Chehab , Heiko Stuebner , Hans Verkuil 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 X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1796368350; l=1008; i=aiyengar1990@gmail.com; s=20261110; h=from:subject:message-id; bh=SVX8VYW3cE8c1/1O+ypyUjpPhfWIC000kjTPhW04MV8=; b=k+gNGhrpkAH5aGOzhJ6PkTCFfk8u69eb4NvH+aO/lUuLyfNwvZYjnseymly5bB9eha5Ns54Zc fK6L9KSOxsFDlqBHB72xqd3A8A9OdBhO+6ySS0yW2YfysS0ap5vZv/H X-Developer-Key: i=aiyengar1990@gmail.com; a=ed25519; pk=zXpRgUTrhaFe6jLyPqbBy3ccfkj04w0g2690Wv3mg+0= X-Endpoint-Received: by B4 Relay for aiyengar1990@gmail.com/20261110 with auth_id=1480 List-Id: B4 Relay Submissions Frames below the 64x64 format minimum are decoded today, with the line stride of their own width. For frames narrower than 49 pixels the stride of the 64 pixel wide format does not match that. Fixes: 003afda97c65 ("media: verisilicon: Enable AV1 decoder on rk3588") Cc: stable@vger.kernel.org # 7.2+ Signed-off-by: Arun Iyengar --- drivers/media/platform/verisilicon/rockchip_vpu_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/verisilicon/rockchip_vpu_hw.c b/drivers/media/platform/verisilicon/rockchip_vpu_hw.c index 1248f9086ff1..f3e7c881d85b 100644 --- a/drivers/media/platform/verisilicon/rockchip_vpu_hw.c +++ b/drivers/media/platform/verisilicon/rockchip_vpu_hw.c @@ -19,7 +19,7 @@ #define RK3066_ACLK_MAX_FREQ (300 * 1000 * 1000) #define RK3288_ACLK_MAX_FREQ (400 * 1000 * 1000) -#define ROCKCHIP_VPU981_MIN_SIZE 64 +#define ROCKCHIP_VPU981_MIN_SIZE 16 /* * Supported formats. -- 2.55.0