Skip to contentSkip to conversation

media: hantro: sunxi: Fix VP9 steps

PATCH New Jernej Skrabec 1 participant 1 message Feb 22, 2022

Subsystems (4)
lore
Share & tools
lore

Jernej Skrabec

author maintainer
#0 lore raw

PATCH 1/1 media: hantro: sunxi: Fix VP9 steps

It turns out that postproc on Allwinner H6 needs width and height to be multiple of 32.

Fixes 86790a4fdf4b ("media: hantro: Add support for Allwinner H6")
---
 drivers/staging/media/hantro/sunxi_vpu_hw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/media/hantro/sunxi_vpu_hw.c +2 -2
index 90633406c4eb..c0edd5856a0c 100644
@@ -29,10 +29,10 @@ static const struct hantro_fmt sunxi_vpu_dec_fmts[] = {
 		.frmsize = {
 			.min_width = 48,
 			.max_width = 3840,
-			.step_width = MB_DIM,
+			.step_width = 32,
 			.min_height = 48,
 			.max_height = 2160,
-			.step_height = MB_DIM,
+			.step_height = 32,
 		},
 	},
 };
Signature · 1 line
2.35.1