media: hantro: sunxi: Fix VP9 steps

[ Upstream commit 17e83a0a1e ]

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

Fixes: 86790a4fdf ("media: hantro: Add support for Allwinner H6")
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Jernej Skrabec 2022-02-22 19:03:28 +01:00 committed by Greg Kroah-Hartman
parent 2d6c05d4ac
commit f886e72afb

View file

@ -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,
},
},
};